about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-05 19:09:55 +0000
committerbors <bors@rust-lang.org>2024-06-05 19:09:55 +0000
commitbc00d7b94d637fb7ed4d392f29a5d235ef0a1ffe (patch)
treeeb59523b3bc28ece08a78eb1561ffd68bb9d607e /compiler/rustc_codegen_llvm/src/errors.rs
parent10d1f32685cef70a0a577b9fad3123a703494119 (diff)
parentb6350e94f7cf3f16caaf163e5406fd77c1cbd070 (diff)
downloadrust-bc00d7b94d637fb7ed4d392f29a5d235ef0a1ffe.tar.gz
rust-bc00d7b94d637fb7ed4d392f29a5d235ef0a1ffe.zip
Auto merge of #12845 - cookie-s:dedup-boolmethods-diags, r=Jarcho
Dedup nonminimal_bool_methods diags

Relates to #12379

Fix `nonminimal_bool` lint so that it doesn't check the same span multiple times.

`NotSimplificationVisitor` was called for each expression from `NonminimalBoolVisitor` whereas `NotSimplificationVisitor` also recursively checked all expressions.

---

changelog: [`nonminimal_bool`]: Fix duplicate diagnostics
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions