about summary refs log tree commit diff
path: root/tests/ui/structs/struct-duplicate-comma.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/structs/struct-duplicate-comma.stderr')
-rw-r--r--tests/ui/structs/struct-duplicate-comma.stderr11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/ui/structs/struct-duplicate-comma.stderr b/tests/ui/structs/struct-duplicate-comma.stderr
index 4ac3fc9fe6b..dc1c6ae8716 100644
--- a/tests/ui/structs/struct-duplicate-comma.stderr
+++ b/tests/ui/structs/struct-duplicate-comma.stderr
@@ -4,10 +4,13 @@ error: expected identifier, found `,`
 LL |     let _ = Foo {
    |             --- while parsing this struct
 LL |         a: 0,,
-   |              ^
-   |              |
-   |              expected identifier
-   |              help: remove this comma
+   |              ^ expected identifier
+   |
+help: remove this comma
+   |
+LL -         a: 0,,
+LL +         a: 0,
+   |
 
 error: aborting due to 1 previous error