mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 20:34:06 +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.
14 lines
262 B
Plaintext
14 lines
262 B
Plaintext
error: invalid variable declaration
|
|
--> $DIR/issue-100197-mut-let.rs:4:5
|
|
|
|
|
LL | mut let _x = 123;
|
|
| ^^^^^^^
|
|
|
|
|
help: switch the order of `mut` and `let`
|
|
|
|
|
LL | let mut _x = 123;
|
|
| ~~~~~~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|