mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-14 15:22:41 +00:00
718bb28f68
No lint with `cfg!` and fix sugg for macro in `needless_bool` lint Don't lint if `cfg!` macro is one of the operand. Fix suggestion when the span originated from a macro, using `hir_with_macro_callsite`. Fixes: #3973 changelog: none |
||
---|---|---|
.. | ||
auxiliary | ||
cargo | ||
ui | ||
ui-cargo | ||
ui-toml | ||
compile-test.rs | ||
dogfood.rs | ||
fmt.rs | ||
integration.rs | ||
missing-test-files.rs | ||
versioncheck.rs |