about summary refs log tree commit diff
path: root/src/test/ui/structs/struct-field-init-syntax.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/structs/struct-field-init-syntax.stderr')
-rw-r--r--src/test/ui/structs/struct-field-init-syntax.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/structs/struct-field-init-syntax.stderr b/src/test/ui/structs/struct-field-init-syntax.stderr
index 2c4ae0e472b..cd8f6b975b6 100644
--- a/src/test/ui/structs/struct-field-init-syntax.stderr
+++ b/src/test/ui/structs/struct-field-init-syntax.stderr
@@ -1,5 +1,5 @@
 error: cannot use a comma after the base struct
-  --> $DIR/struct-field-init-syntax.rs:18:9
+  --> $DIR/struct-field-init-syntax.rs:8:9
    |
 LL |         ..Foo::default(),
    |         ^^^^^^^^^^^^^^^^- help: remove this comma
@@ -7,7 +7,7 @@ LL |         ..Foo::default(),
    = note: the base struct must always be the last field
 
 error: cannot use a comma after the base struct
-  --> $DIR/struct-field-init-syntax.rs:23:9
+  --> $DIR/struct-field-init-syntax.rs:13:9
    |
 LL |         ..Foo::default(),
    |         ^^^^^^^^^^^^^^^^- help: remove this comma