about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-05-22 04:25:40 +0200
committerest31 <MTest31@outlook.com>2022-05-24 17:27:34 +0200
commit2a8b60f915c9fdc61e18be3392ea4330d9617da4 (patch)
tree2f23c58b67578dd37aae12f9b6d61fd2c51ace40 /compiler/rustc_mir_transform/src/coverage/debug.rs
parentcd251fb48e93509b7ddb34aa973ef2c12e25e8dd (diff)
downloadrust-2a8b60f915c9fdc61e18be3392ea4330d9617da4.tar.gz
rust-2a8b60f915c9fdc61e18be3392ea4330d9617da4.zip
Emit weird lint name lints after expansion
Previously, we were emitting weird name lints (for renamed or unknown lints)
before expansion, most importantly before cfg expansion.
This meant that the weird name lints would not fire
for lint attributes hidden inside cfg_attr. The same applied
for lint level specifications of those lints.

By moving the lints for the lint names to the post-expansion
phase, these issues are resolved.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions