rust-clippy/clippy_lints
bors 718bb28f68 Auto merge of #6211 - ThibsG:NeedlessBoolCfg, r=flip1995
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
2020-10-25 11:37:18 +00:00
..
src Auto merge of #6211 - ThibsG:NeedlessBoolCfg, r=flip1995 2020-10-25 11:37:18 +00:00
Cargo.toml bump cargo_metadata version 2020-10-16 22:11:37 +02:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.