summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/unused-macros-decl.stderr
blob: 1f426b9d91a610e51a9e8906ee23452618ced202 (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-decl.rs:7:7
   |
LL | macro unused {
   |       ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macros-decl.rs:2:9
   |
LL | #![deny(unused_macros)]
   |         ^^^^^^^^^^^^^

error: unused macro definition: `unused`
  --> $DIR/unused-macros-decl.rs:17:11
   |
LL |     macro unused {
   |           ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macros-decl.rs:16:12
   |
LL |     #[deny(unused_macros)]
   |            ^^^^^^^^^^^^^

error: unused macro definition: `unused`
  --> $DIR/unused-macros-decl.rs:23:22
   |
LL |     pub(crate) macro unused {
   |                      ^^^^^^

error: aborting due to 3 previous errors