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