2019-03-17 05:55:32 -05:00
|
|
|
warning: unused import: `m1::*`
|
|
|
|
--> $DIR/use-redundant.rs:17:5
|
|
|
|
|
|
|
|
|
LL | use m1::*;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2019-03-17 05:55:32 -05:00
|
|
|
--> $DIR/use-redundant.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![warn(unused_imports)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unused import: `m2::*`
|
|
|
|
--> $DIR/use-redundant.rs:18:5
|
|
|
|
|
|
|
|
|
LL | use m2::*;
|
|
|
|
| ^^^^^
|
|
|
|
|
2019-02-22 08:07:18 -06:00
|
|
|
warning: the item `Bar` is imported redundantly
|
2019-03-17 05:55:32 -05:00
|
|
|
--> $DIR/use-redundant.rs:21:9
|
2019-02-22 08:07:18 -06:00
|
|
|
|
|
2019-03-16 11:38:12 -05:00
|
|
|
LL | use crate::foo::Bar;
|
2019-03-17 15:07:57 -05:00
|
|
|
| --------------- the item `Bar` is already imported here
|
2019-03-16 11:38:12 -05:00
|
|
|
...
|
|
|
|
LL | use crate::foo::Bar;
|
2019-02-22 08:07:18 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2019-03-17 05:55:32 -05:00
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
warning: 3 warnings emitted
|
|
|
|
|