mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
30 lines
611 B
Plaintext
30 lines
611 B
Plaintext
warning: unused import: `m1::*`
|
|
--> $DIR/use-redundant.rs:17:5
|
|
|
|
|
LL | use m1::*;
|
|
| ^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/use-redundant.rs:2:9
|
|
|
|
|
LL | #![warn(unused_imports)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `m2::*`
|
|
--> $DIR/use-redundant.rs:18:5
|
|
|
|
|
LL | use m2::*;
|
|
| ^^^^^
|
|
|
|
warning: the item `Bar` is imported redundantly
|
|
--> $DIR/use-redundant.rs:21:9
|
|
|
|
|
LL | use crate::foo::Bar;
|
|
| --------------- the item `Bar` is already imported here
|
|
...
|
|
LL | use crate::foo::Bar;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
warning: 3 warnings emitted
|
|
|