diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-08-16 16:58:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-16 16:58:06 +0000 |
| commit | 1fd9504619a9656e8d192c74e44c2b5351f28287 (patch) | |
| tree | e6deeade2e506075be6c9f0d27a218b06d8c900a /compiler/rustc_llvm/llvm-wrapper | |
| parent | aa8b09d4682dc577ae35784d316d265d4d5619a5 (diff) | |
| parent | e41fb7ca529d64d3dda9f7870a82ae2a49b130e9 (diff) | |
| download | rust-1fd9504619a9656e8d192c74e44c2b5351f28287.tar.gz rust-1fd9504619a9656e8d192c74e44c2b5351f28287.zip | |
`similar_names` stop linting for 3-char names (#15100)
fixes rust-lang/rust-clippy#14869 Added a simple check if both chars are of length 3 If they are, we skip the check for that pair. This won't handle the 4 v 3 case. Not sure if this was the intent of the issue. Also saw we have some hardcoded exemptions for `set, get` and `lhs, rhs` Tried removing them thinking they would be handled by the new condition. But we have to keep because they allow for `bla_lhs` v `bla_rhs` to be skipped changelog:[`similar_names`]: Stop triggering for 3-character names
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
