rust/src/test/ui/struct-field-init-syntax.stderr
Vadim Petrochenkov fa2d9fc4b9 Update UI tests
2018-02-26 20:24:02 +03:00

18 lines
534 B
Text

error: cannot use a comma after the base struct
--> $DIR/struct-field-init-syntax.rs:18:9
|
LL | ..Foo::default(),
| ^^^^^^^^^^^^^^^^- help: remove this comma
|
= 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
|
LL | ..Foo::default(),
| ^^^^^^^^^^^^^^^^- help: remove this comma
|
= note: the base struct must always be the last field
error: aborting due to 2 previous errors