summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/unused-macros.stderr
blob: d0baf5becec4c3594bdfcfb222167a2bbde2195e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error: unused macro definition: `unused`
  --> $DIR/unused-macros.rs:6:14
   |
LL | macro_rules! unused {
   |              ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macros.rs:1:9
   |
LL | #![deny(unused_macros)]
   |         ^^^^^^^^^^^^^

error: unused macro definition: `m`
  --> $DIR/unused-macros.rs:13:22
   |
LL |         macro_rules! m {
   |                      ^

error: unused macro definition: `unused`
  --> $DIR/unused-macros.rs:26:18
   |
LL |     macro_rules! unused {
   |                  ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macros.rs:25:12
   |
LL |     #[deny(unused_macros)]
   |            ^^^^^^^^^^^^^

error: aborting due to 3 previous errors