fork/rust

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

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

1.42.0
864 B41 linesraw
1error: unused macro definition
2  --> $DIR/unused-macro-rules.rs:4:1
3   |
4LL | / macro_rules! unused {
5LL | |     () => {};
6LL | | }
7   | |_^
8   |
9note: lint level 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
26error: unused macro definition
27  --> $DIR/unused-macro-rules.rs:24:5
28   |
29LL | /     macro_rules! unused {
30LL | |         () => {};
31LL | |     }
32   | |_____^
33   |
34note: lint level defined here
35  --> $DIR/unused-macro-rules.rs:23:12
36   |
37LL |     #[deny(unused_macros)]
38   |            ^^^^^^^^^^^^^
39
40error: aborting due to 3 previous errors
41