2018-12-02 13:27:37 -06:00
|
|
|
warning: unused variable: `a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/attributes-included.rs:17:9
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let a: i32 = "foo";
|
2019-01-25 09:56:27 -06:00
|
|
|
| ^ help: consider prefixing with an underscore: `_a`
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/attributes-included.rs:4:9
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | #![warn(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: #[warn(unused_variables)] implied by #[warn(unused)]
|
|
|
|
|