about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-08-16 16:58:06 +0000
committerGitHub <noreply@github.com>2025-08-16 16:58:06 +0000
commit1fd9504619a9656e8d192c74e44c2b5351f28287 (patch)
treee6deeade2e506075be6c9f0d27a218b06d8c900a /compiler/rustc_llvm/llvm-wrapper
parentaa8b09d4682dc577ae35784d316d265d4d5619a5 (diff)
parente41fb7ca529d64d3dda9f7870a82ae2a49b130e9 (diff)
downloadrust-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