]> git.lizzy.rs Git - rust.git/blob - tests/ui/structs/struct-field-init-syntax.stderr
internally change regions to be covariant
[rust.git] / tests / ui / structs / struct-field-init-syntax.stderr
1 error: cannot use a comma after the base struct
2   --> $DIR/struct-field-init-syntax.rs:11: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:16: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