1 warning: unused import: `m1::*`
2 --> $DIR/use-redundant.rs:17:5
7 note: the lint level is defined here
8 --> $DIR/use-redundant.rs:2:9
10 LL | #![warn(unused_imports)]
13 warning: unused import: `m2::*`
14 --> $DIR/use-redundant.rs:18:5
19 warning: the item `Bar` is imported redundantly
20 --> $DIR/use-redundant.rs:21:9
22 LL | use crate::foo::Bar;
23 | --------------- the item `Bar` is already imported here
25 LL | use crate::foo::Bar;