1 warning: unused variable: `x`
2 --> $DIR/expect_lint_from_macro.rs:9:13
5 | ^ help: if this is intentional, prefix it with an underscore: `_x`
7 LL | trigger_unused_variables_macro!();
8 | --------------------------------- in this macro invocation
10 note: the lint level is defined here
11 --> $DIR/expect_lint_from_macro.rs:5:9
13 LL | #![warn(unused_variables)]
15 = note: this warning originates in the macro `trigger_unused_variables_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
17 warning: unused variable: `x`
18 --> $DIR/expect_lint_from_macro.rs:9:13
21 | ^ help: if this is intentional, prefix it with an underscore: `_x`
23 LL | trigger_unused_variables_macro!();
24 | --------------------------------- in this macro invocation
26 = note: this warning originates in the macro `trigger_unused_variables_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
28 warning: 2 warnings emitted