summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/missing-bang-in-decl.stderr
blob: dfabafb0a7ab8e21b8da95409a7bf1593ca07674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: expected `!` after `macro_rules`
  --> $DIR/missing-bang-in-decl.rs:5:1
   |
LL | macro_rules foo {
   | ^^^^^^^^^^^ help: add a `!`: `macro_rules!`

error: expected `!` after `macro_rules`
  --> $DIR/missing-bang-in-decl.rs:10:1
   |
LL | macro_rules bar! {
   | ^^^^^^^^^^^ help: add a `!`: `macro_rules!`

error: macro names aren't followed by a `!`
  --> $DIR/missing-bang-in-decl.rs:10:16
   |
LL | macro_rules bar! {
   |                ^ help: remove the `!`

error: aborting due to 3 previous errors