mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +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.
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
|
|
|