rust/tests/ui/macros/missing-bang-in-decl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
589 B
Plaintext
Raw Normal View History

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