mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-13 14:52:46 +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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |