summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/bang-after-name.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/macros/bang-after-name.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/macros/bang-after-name.stderr b/src/test/ui/macros/bang-after-name.stderr
new file mode 100644
index 000000000..f609c4943
--- /dev/null
+++ b/src/test/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
+