You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…=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
Putting that code somewhere in a project will result in a failure to build, but (at least in rust 0.6, on windows) no error message.
Consider this shell session in mingw:
The text was updated successfully, but these errors were encountered: