about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-10 17:17:41 +0000
committerbors <bors@rust-lang.org>2024-02-10 17:17:41 +0000
commite67b7e02da80cca178a577245bdf92037f3e93df (patch)
tree3b6a69390167148928dfb3505d1080f6a8bdaf67 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent28443e63fb633a5ed00a49e8df591a956d77122c (diff)
parent5250afb77d5f14a82539fef4bfbb96d6d56f639a (diff)
downloadrust-e67b7e02da80cca178a577245bdf92037f3e93df.tar.gz
rust-e67b7e02da80cca178a577245bdf92037f3e93df.zip
Auto merge of #12258 - tgross35:similiar-names-update, r=Alexendoo
[`similar_names`]: don't raise if the first character is different

A lot of cases of the "noise" cases of `similar_names` come from two idents with a different first letter, which is easy enough to differentiate visually but causes this lint to be raised.

Do not raise the lint in these cases, as long as the first character does not have a lookalike.

Helps with https://github.com/rust-lang/rust-clippy/issues/10926 (does not fix)

This is per-commit reviewable, the first commit is just refactoring.

changelog: [`similar_names`]: don't raise if the first character is different
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions