about summary refs log tree commit diff
path: root/tests/ui/parser/match-arm-without-braces.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/match-arm-without-braces.stderr')
-rw-r--r--tests/ui/parser/match-arm-without-braces.stderr7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ui/parser/match-arm-without-braces.stderr b/tests/ui/parser/match-arm-without-braces.stderr
index ee1c8e562fc..4a4a154d860 100644
--- a/tests/ui/parser/match-arm-without-braces.stderr
+++ b/tests/ui/parser/match-arm-without-braces.stderr
@@ -60,7 +60,12 @@ error: expected `,` following `match` arm
   --> $DIR/match-arm-without-braces.rs:48:29
    |
 LL |         Some(Val::Foo) => 17
-   |                             ^ help: missing a comma here to end this `match` arm: `,`
+   |                             ^
+   |
+help: missing a comma here to end this `match` arm
+   |
+LL |         Some(Val::Foo) => 17,
+   |                             +
 
 error: `match` arm body without braces
   --> $DIR/match-arm-without-braces.rs:53:11