about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-05-14 03:41:06 +0200
committerest31 <MTest31@outlook.com>2022-05-14 12:31:14 +0200
commit015e2ae76984144a7ece6d8169ff42b6dc7d6870 (patch)
tree258db3d0f4c5b1c1cb8ffa541cbc9b92f8ac0602 /compiler/rustc_mir_transform/src/coverage/counters.rs
parentc6499fd9987a2b338892f56cea26c39a6fe64d18 (diff)
downloadrust-015e2ae76984144a7ece6d8169ff42b6dc7d6870.tar.gz
rust-015e2ae76984144a7ece6d8169ff42b6dc7d6870.zip
Allow the unused_macro_rules lint for now
This makes the transition easier as e.g. allow directives
won't fire the unknown lint warning once it is turned to
warn by default in the future. This is especially
important compared to other lints in the unused group
because the _ prefix trick doesn't exist for macro rules,
so allowing is the only option (either of unused_macro_rules,
or of the entire unused group, but that is not as informative
to readers). Allowing the lint also makes it possible to work
on possible heuristics for disabling the macro in specific
cases.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions