rust/tests/ui/issues/issue-40782.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

25 lines
440 B
Plaintext

error: missing `in` in `for` loop
--> $DIR/issue-40782.rs:4:11
|
LL | for _i 0..2 {
| ^
|
help: try adding `in` here
|
LL | for _i in 0..2 {
| ++
error: missing `in` in `for` loop
--> $DIR/issue-40782.rs:6:12
|
LL | for _i of 0..2 {
| ^^
|
help: try using `in` here instead
|
LL | for _i in 0..2 {
| ~~
error: aborting due to 2 previous errors