mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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.
25 lines
440 B
Plaintext
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
|
|
|