summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-nested-groups-unused-imports.stderr
blob: 6610f8ecd4a28d5ee6290fa368335466b984f6d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: unused imports: `*`, `Foo`, `baz::{}`, `foobar::*`
  --> $DIR/use-nested-groups-unused-imports.rs:15:11
   |
LL | use foo::{Foo, bar::{baz::{}, foobar::*}, *};
   |           ^^^        ^^^^^^^  ^^^^^^^^^   ^
   |
note: the lint level is defined here
  --> $DIR/use-nested-groups-unused-imports.rs:2:9
   |
LL | #![deny(unused_imports)]
   |         ^^^^^^^^^^^^^^

error: unused import: `*`
  --> $DIR/use-nested-groups-unused-imports.rs:17:24
   |
LL | use foo::bar::baz::{*, *};
   |                        ^

error: unused import: `foo::{}`
  --> $DIR/use-nested-groups-unused-imports.rs:19:5
   |
LL | use foo::{};
   |     ^^^^^^^

error: aborting due to 3 previous errors