2021-09-25 14:51:46 -05:00
|
|
|
error: expected `!` after `macro_rules`
|
|
|
|
--> $DIR/missing-bang-in-decl.rs:5:1
|
|
|
|
|
|
|
|
|
LL | macro_rules foo {
|
2023-04-26 19:53:06 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: add a `!`
|
|
|
|
|
|
|
|
|
LL | macro_rules! foo {
|
|
|
|
| +
|
2021-09-25 14:51:46 -05:00
|
|
|
|
|
|
|
error: expected `!` after `macro_rules`
|
|
|
|
--> $DIR/missing-bang-in-decl.rs:10:1
|
|
|
|
|
|
|
|
|
LL | macro_rules bar! {
|
2023-04-26 19:53:06 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: add a `!`
|
|
|
|
|
|
|
|
|
LL | macro_rules! bar! {
|
|
|
|
| +
|
2021-09-25 14:51:46 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|