rust/tests/ui/parser/issues/issue-100197-mut-let.stderr
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00

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