fork/rust

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

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

1.42.0
445 B21 linesraw
1error: unused `#[macro_use]` import
2  --> $DIR/unused-macro-use.rs:3:1
3   |
4LL | #[macro_use]
5   | ^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/unused-macro-use.rs:1:9
9   |
10LL | #![deny(unused)]
11   |         ^^^^^^
12   = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]`
13
14error: unused `#[macro_use]` import
15  --> $DIR/unused-macro-use.rs:7:5
16   |
17LL |     panic
18   |     ^^^^^
19
20error: aborting due to 2 previous errors
21