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