about summary refs log tree commit diff
path: root/tests/ui/macros/bang-after-name.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/bang-after-name.stderr')
-rw-r--r--tests/ui/macros/bang-after-name.stderr8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/ui/macros/bang-after-name.stderr b/tests/ui/macros/bang-after-name.stderr
index 27853161e4f..8433c375c01 100644
--- a/tests/ui/macros/bang-after-name.stderr
+++ b/tests/ui/macros/bang-after-name.stderr
@@ -2,7 +2,13 @@ error: macro names aren't followed by a `!`
   --> $DIR/bang-after-name.rs:4:17
    |
 LL | macro_rules! foo! {
-   |                 ^ help: remove the `!`
+   |                 ^
+   |
+help: remove the `!`
+   |
+LL - macro_rules! foo! {
+LL + macro_rules! foo {
+   |
 
 error: aborting due to 1 previous error