2018-03-10 15:18:05 -06:00
|
|
|
warning: unused import: `m::Tr1 as _`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/basic.rs:26:9
|
2018-03-10 15:18:05 -06:00
|
|
|
|
|
|
|
|
LL | use m::Tr1 as _; //~ WARN unused import
|
2019-02-11 13:16:22 -06:00
|
|
|
| ^^^^^^^^^^^
|
2018-03-10 15:18:05 -06:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/basic.rs:4:9
|
2018-03-10 15:18:05 -06:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_imports, unused_extern_crates)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unused import: `S as _`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/basic.rs:27:9
|
2018-03-10 15:18:05 -06:00
|
|
|
|
|
|
|
|
LL | use S as _; //~ WARN unused import
|
2019-02-11 13:16:22 -06:00
|
|
|
| ^^^^^^
|
2018-03-10 15:18:05 -06:00
|
|
|
|