Rollup merge of #78898 - SNCPlay42:issue-78892, r=Mark-Simulacrum
add regression test for #78892 closes #78892, which was already fixed on nightly.
This commit is contained in:
commit
6b27f0d5b9
@ -0,0 +1,14 @@
|
||||
// check-pass
|
||||
|
||||
// regression test for #78892
|
||||
|
||||
macro_rules! mac {
|
||||
($lint_name:ident) => {{
|
||||
#[allow($lint_name)]
|
||||
let _ = ();
|
||||
}};
|
||||
}
|
||||
|
||||
fn main() {
|
||||
mac!(dead_code)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user