-
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
[arithmetic-side-effects] Consider references #9507
Conversation
r? @xFrednet (rust-highfive has picked a reviewer for you, use r? to override) |
It seems that @xFrednet is not currently available. Perhaps another reviewer? r? rust-lang/clippy |
r? @Alexendoo |
Sorry, for the last replay, haven't had much time for Clippy in the last weeks. @Alexendoo It would be super if you could take this over. You can pass it back, if you don't have time 🙃 |
Yep no problem! LGTM @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
@xFrednet Don't worry, we all have stuff to do. |
Takes into consideration integer references like
&i32::MAX
because currently things likelet _ = &1 + 0
trigger the lint.changelog: FP: [
arithmetic_side_effects
]: Now ignores references9507