-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Rename integer_arithmetic
#10674
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
Rename integer_arithmetic
#10674
Conversation
r? @Jarcho (rustbot has picked a reviewer for you, use r? to override) |
I'll look into this this week. Just as an initial comment it looks like this would be better as a rename rather than deprecation. |
Sorry, this took longer to get to than expected. I'm in favour of the change in general. The whole point of It might be worth having an attribute which can be applied to the trait impls to opt-out of the lint. I don't feel like this needs to be a blocker, just a thing to consider. An alternative to deprecating it is to just use the implementation of cc @rust-lang/clippy if anyone has something to add. |
I agree that the merge makes sense, if |
I'm in favor |
@c410-f3r We are good to merge once the lint deprecation is changed to a lint rename and all tests are passing. |
Thank your very much @Jarcho and @rust-lang/clippy for accepting this proposal. A lot of effort was put into |
Thank you for pushing this through. @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Thank you! |
The lack of official feedback in #10200 made me give up on pursuing the matter but after yet another use-case that is not handled by
integer_arithmetic
(#10615), I think it is worth trying again.changelog: Move/Deprecation: Rename
integer_arithmetic
toarithmetic_side_effects
#10674