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