fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
349 B17 linesraw
1error: the item `S` is imported redundantly
2  --> $DIR/issue-59896.rs:6:9
3   |
4LL | struct S;
5   | --------- the item `S` is already defined here
6...
7LL |     use S;
8   |         ^
9   |
10note: lint level defined here
11  --> $DIR/issue-59896.rs:1:9
12   |
13LL | #![deny(unused_imports)]
14   |         ^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17