mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
27 lines
687 B
Plaintext
27 lines
687 B
Plaintext
|
error: unused imports: `*`, `Foo`, `baz::{}`, `foobar::*`
|
||
|
--> $DIR/use-nested-groups-unused-imports.rs:26:11
|
||
|
|
|
||
|
26 | use foo::{Foo, bar::{baz::{}, foobar::*}, *};
|
||
|
| ^^^ ^^^^^^^ ^^^^^^^^^ ^
|
||
|
|
|
||
|
note: lint level defined here
|
||
|
--> $DIR/use-nested-groups-unused-imports.rs:13:9
|
||
|
|
|
||
|
13 | #![deny(unused_imports)]
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
||
|
error: unused import: `*`
|
||
|
--> $DIR/use-nested-groups-unused-imports.rs:28:24
|
||
|
|
|
||
|
28 | use foo::bar::baz::{*, *};
|
||
|
| ^
|
||
|
|
||
|
error: unused import: `use foo::{};`
|
||
|
--> $DIR/use-nested-groups-unused-imports.rs:30:1
|
||
|
|
|
||
|
30 | use foo::{};
|
||
|
| ^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|