2020-09-28 00:00:00 +00:00
|
|
|
warning: unused variable: `a`
|
|
|
|
--> $DIR/liveness-derive.rs:15:13
|
2020-09-27 00:00:00 +00:00
|
|
|
|
|
2020-09-28 00:00:00 +00:00
|
|
|
LL | let a = 0;
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2020-09-27 00:00:00 +00:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/liveness-derive.rs:6:9
|
|
|
|
|
|
|
|
|
LL | #![warn(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
|
|
|
|
|
2020-09-28 00:00:00 +00:00
|
|
|
warning: unused variable: `b`
|
|
|
|
--> $DIR/liveness-derive.rs:20:13
|
|
|
|
|
|
|
|
|
LL | let b = 16;
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2020-09-27 00:00:00 +00:00
|
|
|
|