diff options
| author | bors <bors@rust-lang.org> | 2020-10-30 12:37:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-10-30 12:37:46 +0000 |
| commit | 0be654482cb33dc16d1d9aa5227aa73da46365fc (patch) | |
| tree | 4bfbe4b2354792793f8005fabd8309140720e35f /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 74d8fbb7a4b73ab854f101f877ef0eca147a328a (diff) | |
| parent | fa0a78b130d52d4504eefbd16689b140e05fce59 (diff) | |
| download | rust-0be654482cb33dc16d1d9aa5227aa73da46365fc.tar.gz rust-0be654482cb33dc16d1d9aa5227aa73da46365fc.zip | |
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
