]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/use-redundant.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / use-redundant.stderr
1 warning: unused import: `m1::*`
2   --> $DIR/use-redundant.rs:17:5
3    |
4 LL | use m1::*;
5    |     ^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/use-redundant.rs:2:9
9    |
10 LL | #![warn(unused_imports)]
11    |         ^^^^^^^^^^^^^^
12
13 warning: unused import: `m2::*`
14   --> $DIR/use-redundant.rs:18:5
15    |
16 LL | use m2::*;
17    |     ^^^^^
18
19 warning: the item `Bar` is imported redundantly
20   --> $DIR/use-redundant.rs:21:9
21    |
22 LL | use crate::foo::Bar;
23    |     --------------- the item `Bar` is already imported here
24 ...
25 LL |     use crate::foo::Bar;
26    |         ^^^^^^^^^^^^^^^
27
28 warning: 3 warnings emitted
29