Skip to content

minor: check original type for replace_arith_op#22225

Open
A4-Tacks wants to merge 1 commit intorust-lang:masterfrom
A4-Tacks:arith-op-fixup
Open

minor: check original type for replace_arith_op#22225
A4-Tacks wants to merge 1 commit intorust-lang:masterfrom
A4-Tacks:arith-op-fixup

Conversation

@A4-Tacks
Copy link
Copy Markdown
Member

@A4-Tacks A4-Tacks commented Apr 30, 2026

Fixup #22180

It's strange that the unit test can pass, but it cannot be offer in the editor

fn main() {
    let mut x = 1;
    x $0+= 2;
}

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 30, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 3, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@A4-Tacks A4-Tacks requested a review from ChayimFriedman2 May 3, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants