summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/unused-macros-malformed-rule.stderr
blob: 9a880dccfbf6dbe650c819af940b41e50d224b65 (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
error: macro rhs must be delimited
  --> $DIR/unused-macros-malformed-rule.rs:5:11
   |
LL |     () => 0;
   |           ^

error: macro rhs must be delimited
  --> $DIR/unused-macros-malformed-rule.rs:10:11
   |
LL |     () => 0;
   |           ^

error: unused macro definition: `foo`
  --> $DIR/unused-macros-malformed-rule.rs:3:14
   |
LL | macro_rules! foo {
   |              ^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macros-malformed-rule.rs:1:9
   |
LL | #![deny(unused_macros)]
   |         ^^^^^^^^^^^^^

error: aborting due to 3 previous errors