fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
611 B29 linesraw
1warning: unused import: `m1::*`
2  --> $DIR/use-redundant.rs:17:5
3   |
4LL | use m1::*;
5   |     ^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/use-redundant.rs:2:9
9   |
10LL | #![warn(unused_imports)]
11   |         ^^^^^^^^^^^^^^
12
13warning: unused import: `m2::*`
14  --> $DIR/use-redundant.rs:18:5
15   |
16LL | use m2::*;
17   |     ^^^^^
18
19warning: the item `Bar` is imported redundantly
20  --> $DIR/use-redundant.rs:21:9
21   |
22LL | use crate::foo::Bar;
23   |     --------------- the item `Bar` is already imported here
24...
25LL |     use crate::foo::Bar;
26   |         ^^^^^^^^^^^^^^^
27
28warning: 3 warnings emitted
29