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 | ||