diff options
| author | bors <bors@rust-lang.org> | 2024-03-17 08:10:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-17 08:10:32 +0000 |
| commit | e9a50f2859d45a8a3720a72a7c27c319e5dfc8c3 (patch) | |
| tree | 7b91ca5ba110081d4186862e2d8adc871ee5796d /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | d202eb653baf55ee0287a677c4272cd4d7ddde9d (diff) | |
| parent | edcf10e2f7243d4173d2a2c635ef923ba813a10f (diff) | |
| download | rust-e9a50f2859d45a8a3720a72a7c27c319e5dfc8c3.tar.gz rust-e9a50f2859d45a8a3720a72a7c27c319e5dfc8c3.zip | |
Auto merge of #12451 - Jacherr:issue-12391, r=llogiq
new restriction lint: `integer_division_remainder_used` Fixes https://github.com/rust-lang/rust-clippy/issues/12391 Introduces a restriction lint which disallows the use of `/` and `%` operators on any `Int` or `Uint` types (i.e., any that use the default `Div` or `Rem` trait implementations). Custom implementations of these traits are ignored. ---- changelog: Add new restriction lint [`integer_division_remainder_used`]
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
