17 lines
394 B
Plaintext
17 lines
394 B
Plaintext
warning: the item `Foo` is imported redundantly
|
|
--> $DIR/use-redundant-glob.rs:11:9
|
|
|
|
|
LL | use bar::*;
|
|
| ------ the item `Foo` is already imported here
|
|
LL | use bar::Foo;
|
|
| ^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/use-redundant-glob.rs:2:9
|
|
|
|
|
LL | #![warn(redundant_imports)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: 1 warning emitted
|
|
|