rust/tests/ui/structs/struct-field-init-syntax.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
534 B
Plaintext
Raw Normal View History

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