mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00

Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
25 lines
470 B
Plaintext
25 lines
470 B
Plaintext
error: expected `:`, found `=`
|
|
--> $DIR/issue-57684.rs:27:20
|
|
|
|
|
LL | let _ = X { f1 = 5 };
|
|
| ^
|
|
|
|
|
help: replace equals symbol with a colon
|
|
|
|
|
LL | let _ = X { f1: 5 };
|
|
| ~
|
|
|
|
error: expected `:`, found `=`
|
|
--> $DIR/issue-57684.rs:32:12
|
|
|
|
|
LL | f1 = 5,
|
|
| ^
|
|
|
|
|
help: replace equals symbol with a colon
|
|
|
|
|
LL | f1: 5,
|
|
| ~
|
|
|
|
error: aborting due to 2 previous errors
|
|
|