bors 0be654482c Auto merge of #6229 - henil:improve-integer-division-lint, r=phansch
Update the existing arithmetic lint

re: #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](https://github.com/rust-lang/rust-clippy/issues/6209#issuecomment-715624354)

changelog: Expand [`integer_arithmetic`] to work with RHS literals and constants
2020-10-30 12:37:46 +00:00
..
2020-08-17 13:55:05 +01:00
2020-06-10 01:35:47 +00:00
2020-10-28 22:34:45 +01:00
2020-08-02 23:20:00 +08:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-26 00:01:20 +09:00
2020-10-26 00:01:20 +09:00
2020-07-10 07:39:28 -04:00
2020-09-10 15:23:38 +02:00