mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
21 lines
516 B
Plaintext
21 lines
516 B
Plaintext
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
|
|
|