Skip to content

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