fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
990 B43 linesraw
1error: unused macro definition
2  --> $DIR/unused-macro-rules.rs:4:1
3   |
4LL | / macro_rules! unused {
5LL | |     () => {};
6LL | | }
7   | |_^
8   |
9note: the lint level is defined here
10  --> $DIR/unused-macro-rules.rs:1:9
11   |
12LL | #![deny(unused_macros)]
13   |         ^^^^^^^^^^^^^
14
15error: unused macro definition
16  --> $DIR/unused-macro-rules.rs:11:9
17   |
18LL | /         macro_rules! m {
19LL | |             () => {};
20LL | |         }
21   | |_________^
22...
23LL |   create_macro!();
24   |   ---------------- in this macro invocation
25   |
26   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
27
28error: unused macro definition
29  --> $DIR/unused-macro-rules.rs:24:5
30   |
31LL | /     macro_rules! unused {
32LL | |         () => {};
33LL | |     }
34   | |_____^
35   |
36note: the lint level is defined here
37  --> $DIR/unused-macro-rules.rs:23:12
38   |
39LL |     #[deny(unused_macros)]
40   |            ^^^^^^^^^^^^^
41
42error: aborting due to 3 previous errors
43