mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
692bc344d5
Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
29 lines
674 B
Plaintext
29 lines
674 B
Plaintext
error: cannot use a comma after the base struct
|
|
--> $DIR/struct-field-init-syntax.rs:11:9
|
|
|
|
|
LL | ..Foo::default(),
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the base struct must always be the last field
|
|
help: remove this comma
|
|
|
|
|
LL - ..Foo::default(),
|
|
LL + ..Foo::default()
|
|
|
|
|
|
|
error: cannot use a comma after the base struct
|
|
--> $DIR/struct-field-init-syntax.rs:16:9
|
|
|
|
|
LL | ..Foo::default(),
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the base struct must always be the last field
|
|
help: remove this comma
|
|
|
|
|
LL - ..Foo::default(),
|
|
LL + ..Foo::default()
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|