about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2024-12-13 17:21:59 +0000
committerGitHub <noreply@github.com>2024-12-13 17:21:59 +0000
commit13463cb072e1ae70677329931b434b4070710e2a (patch)
tree899c4e8c158ed616f6b3c2cfdd05ab8ceb239ddf /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parentc607408df56146d875e292966a2ea1488bed4981 (diff)
parente38fa003013781a1c51ce6e94b4e4ad276096131 (diff)
downloadrust-13463cb072e1ae70677329931b434b4070710e2a.tar.gz
rust-13463cb072e1ae70677329931b434b4070710e2a.zip
correct `single_match` lint suggestion (#13824)
fix #12758

The `single_match` lint makes incorrect suggestions when comparing with
byte string literals. There seems to be an issue with the logic that
calculates the number of refs when creating suggestions.

changelog: [`single_match`]: No longer make incorrect suggestions when
comparing with byte string literals.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions