-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix almost_swapped
false positive (let mut a = b; a = a
)
#10499
Conversation
r? @giraffate (rustbot has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
It seems to be only resolve 2
in #10421 (comment). So I updated notes not to close #10421.
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Yeah I only tackled 2 because I didn't know if it should lint on macros or not. Is this true? |
Yeah it would, and yeah we don't want to be linting macros |
Fixes
2
in #10421changelog: [
almost_swapped
]: Fix false positive when a variable is changed to itself. (a = a
)