blob: b95815bc50b985abdfbca6d2c0d6c106e6687d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// check-pass
#![feature(lint_reasons)]
#![warn(unused)]
macro_rules! expect_inside_macro {
() => {
#[expect(unused_variables)]
let x = 0;
};
}
fn main() {
expect_inside_macro!();
}
|