about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/query.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-25 11:37:18 +0000
committerbors <bors@rust-lang.org>2020-10-25 11:37:18 +0000
commit718bb28f68bf1b693a6e3f1abd36360926a5707c (patch)
tree56a409e1c96244aef8fd080e460f706ed00060a1 /compiler/rustc_mir/src/transform/coverage/query.rs
parent38be214724f44ce4ff5944068cb1be3a79b0d218 (diff)
parent62f60e1ae5bd2287497746bf90a302903e0ae462 (diff)
downloadrust-718bb28f68bf1b693a6e3f1abd36360926a5707c.tar.gz
rust-718bb28f68bf1b693a6e3f1abd36360926a5707c.zip
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions