fork/rust

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

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

1.42.0
460 B20 linesraw
1warning: unused extern crate
2  --> $DIR/no-macro-use-attr.rs:6:1
3   |
4LL | extern crate test_macros;
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
6   |
7note: lint level defined here
8  --> $DIR/no-macro-use-attr.rs:4:9
9   |
10LL | #![warn(unused_extern_crates)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: fatal error triggered by #[rustc_error]
14  --> $DIR/no-macro-use-attr.rs:10:1
15   |
16LL | fn main() {}
17   | ^^^^^^^^^^^^
18
19error: aborting due to previous error
20