diff options
Diffstat (limited to 'tests/ui/macros/bang-after-name.stderr')
-rw-r--r-- | tests/ui/macros/bang-after-name.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/macros/bang-after-name.stderr b/tests/ui/macros/bang-after-name.stderr new file mode 100644 index 000000000..f609c4943 --- /dev/null +++ b/tests/ui/macros/bang-after-name.stderr @@ -0,0 +1,8 @@ +error: macro names aren't followed by a `!` + --> $DIR/bang-after-name.rs:4:17 + | +LL | macro_rules! foo! { + | ^ help: remove the `!` + +error: aborting due to previous error + |