fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
534 B18 linesraw
1error: cannot use a comma after the base struct
2  --> $DIR/struct-field-init-syntax.rs:11:9
3   |
4LL |         ..Foo::default(),
5   |         ^^^^^^^^^^^^^^^^- help: remove this comma
6   |
7   = note: the base struct must always be the last field
8
9error: cannot use a comma after the base struct
10  --> $DIR/struct-field-init-syntax.rs:16:9
11   |
12LL |         ..Foo::default(),
13   |         ^^^^^^^^^^^^^^^^- help: remove this comma
14   |
15   = note: the base struct must always be the last field
16
17error: aborting due to 2 previous errors
18