mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
30 lines
589 B
Text
30 lines
589 B
Text
error: expected `!` after `macro_rules`
|
|
--> $DIR/missing-bang-in-decl.rs:5:1
|
|
|
|
|
LL | macro_rules foo {
|
|
| ^^^^^^^^^^^
|
|
|
|
|
help: add a `!`
|
|
|
|
|
LL | macro_rules! foo {
|
|
| +
|
|
|
|
error: expected `!` after `macro_rules`
|
|
--> $DIR/missing-bang-in-decl.rs:10:1
|
|
|
|
|
LL | macro_rules bar! {
|
|
| ^^^^^^^^^^^
|
|
|
|
|
help: add a `!`
|
|
|
|
|
LL | macro_rules! bar! {
|
|
| +
|
|
|
|
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
|
|
|