]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
b7449926 1error: unused macro definition
0731742a 2 --> $DIR/unused-macro-rules.rs:4:1
b7449926 3 |
532ac7d7 4LL | / macro_rules! unused {
b7449926
XL
5LL | | () => {};
6LL | | }
7 | |_^
8 |
74b04a01 9note: the lint level is defined here
0731742a 10 --> $DIR/unused-macro-rules.rs:1:9
b7449926
XL
11 |
12LL | #![deny(unused_macros)]
13 | ^^^^^^^^^^^^^
14
15error: unused macro definition
0731742a 16 --> $DIR/unused-macro-rules.rs:11:9
b7449926 17 |
532ac7d7 18LL | / macro_rules! m {
b7449926
XL
19LL | | () => {};
20LL | | }
21 | |_________^
22...
23LL | 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
28error: unused macro definition
0731742a 29 --> $DIR/unused-macro-rules.rs:24:5
b7449926 30 |
532ac7d7 31LL | / macro_rules! unused {
b7449926
XL
32LL | | () => {};
33LL | | }
34 | |_____^
35 |
74b04a01 36note: the lint level is defined here
0731742a 37 --> $DIR/unused-macro-rules.rs:23:12
b7449926
XL
38 |
39LL | #[deny(unused_macros)]
40 | ^^^^^^^^^^^^^
41
42error: aborting due to 3 previous errors
43