Skip to content

Warning police #6229

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

Merged
merged 4 commits into from
May 4, 2013
Merged

Warning police #6229

merged 4 commits into from
May 4, 2013

Conversation

catamorphism
Copy link
Contributor

No description provided.

@bors bors closed this May 4, 2013
@bors bors merged commit 2df8799 into rust-lang:incoming May 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 3, 2020
…=phansch

Update the existing arithmetic lint

re: rust-lang#6209

Updates the lint to not the error message if RHS of binary operation `/` of `%` is a literal/constant that is not `0` or `-1`, as suggested [here](rust-lang/rust-clippy#6209 (comment))

changelog: Expand [`integer_arithmetic`] to work with RHS literals and constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants