diff options
| author | bors <bors@rust-lang.org> | 2024-01-27 12:22:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-27 12:22:48 +0000 |
| commit | 855aa08de5303161434c6334f1d5d949d71c56f6 (patch) | |
| tree | 2b35f128b915d13e92c8cffeca1329557655919d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 8905f78832c4dc2ab99d1a26141a39e3830aa780 (diff) | |
| parent | e456c28e11921174d50e8329ca78903e6e53b3cc (diff) | |
| download | rust-855aa08de5303161434c6334f1d5d949d71c56f6.tar.gz rust-855aa08de5303161434c6334f1d5d949d71c56f6.zip | |
Auto merge of #12178 - mdm:modulo-arithmetic-comparison-to-zero, r=llogiq
Don't warn about modulo arithmetic when comparing to zero closes #12006 By default, don't warn about modulo arithmetic when comparing to zero. This behavior is configurable via `clippy.toml`. See discussion [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/.E2.9C.94.20Is.20issue.20.2312006.20worth.20implementing.3F) changelog: [`modulo_arithmetic`]: By default don't lint when comparing the result of a modulo operation to zero.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
