]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unused/unused-macro.stderr
Auto merge of #87408 - kornelski:try_reserve_error, r=yaahc
[rust.git] / src / test / ui / lint / unused / unused-macro.stderr
1 error: unused macro definition
2   --> $DIR/unused-macro.rs:5:1
3    |
4 LL | / macro unused {
5 LL | |     () => {}
6 LL | | }
7    | |_^
8    |
9 note: the lint level is defined here
10   --> $DIR/unused-macro.rs:2:9
11    |
12 LL | #![deny(unused_macros)]
13    |         ^^^^^^^^^^^^^
14
15 error: unused macro definition
16   --> $DIR/unused-macro.rs:15:5
17    |
18 LL | /     macro unused {
19 LL | |         () => {}
20 LL | |     }
21    | |_____^
22    |
23 note: the lint level is defined here
24   --> $DIR/unused-macro.rs:14:12
25    |
26 LL |     #[deny(unused_macros)]
27    |            ^^^^^^^^^^^^^
28
29 error: unused macro definition
30   --> $DIR/unused-macro.rs:21:5
31    |
32 LL | /     pub(crate) macro unused {
33 LL | |         () => {}
34 LL | |     }
35    | |_____^
36
37 error: aborting due to 3 previous errors
38