]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-nested-groups-unused-imports.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / use / use-nested-groups-unused-imports.stderr
1 error: unused imports: `*`, `Foo`, `baz::{}`, `foobar::*`
2   --> $DIR/use-nested-groups-unused-imports.rs:26:11
3    |
4 LL | use foo::{Foo, bar::{baz::{}, foobar::*}, *};
5    |           ^^^        ^^^^^^^  ^^^^^^^^^   ^
6    |
7 note: lint level defined here
8   --> $DIR/use-nested-groups-unused-imports.rs:13:9
9    |
10 LL | #![deny(unused_imports)]
11    |         ^^^^^^^^^^^^^^
12
13 error: unused import: `*`
14   --> $DIR/use-nested-groups-unused-imports.rs:28:24
15    |
16 LL | use foo::bar::baz::{*, *};
17    |                        ^
18
19 error: unused import: `use foo::{};`
20   --> $DIR/use-nested-groups-unused-imports.rs:30:1
21    |
22 LL | use foo::{};
23    | ^^^^^^^^^^^^
24
25 error: aborting due to 3 previous errors
26