diff options
Diffstat (limited to 'tests/ui/proc-macro/attributes-included.stderr')
-rw-r--r-- | tests/ui/proc-macro/attributes-included.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/attributes-included.stderr b/tests/ui/proc-macro/attributes-included.stderr new file mode 100644 index 000000000..72c88d5d8 --- /dev/null +++ b/tests/ui/proc-macro/attributes-included.stderr @@ -0,0 +1,15 @@ +warning: unused variable: `a` + --> $DIR/attributes-included.rs:17:9 + | +LL | let a: i32 = "foo"; + | ^ help: if this is intentional, prefix it with an underscore: `_a` + | +note: the lint level is defined here + --> $DIR/attributes-included.rs:4:9 + | +LL | #![warn(unused)] + | ^^^^^^ + = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` + +warning: 1 warning emitted + |