]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs/struct-field-init-syntax.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / structs / struct-field-init-syntax.stderr
1 error: cannot use a comma after the base struct
2   --> $DIR/struct-field-init-syntax.rs:18:9
3    |
4 LL |         ..Foo::default(),
5    |         ^^^^^^^^^^^^^^^^- help: remove this comma
6    |
7    = note: the base struct must always be the last field
8
9 error: cannot use a comma after the base struct
10   --> $DIR/struct-field-init-syntax.rs:23:9
11    |
12 LL |         ..Foo::default(),
13    |         ^^^^^^^^^^^^^^^^- help: remove this comma
14    |
15    = note: the base struct must always be the last field
16
17 error: aborting due to 2 previous errors
18