mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
15 lines
330 B
Plaintext
15 lines
330 B
Plaintext
error: missing `in` in `for` loop
|
|
--> $DIR/issue-40782.rs:4:11
|
|
|
|
|
LL | for _i 0..2 {
|
|
| ^ help: try adding `in` here
|
|
|
|
error: missing `in` in `for` loop
|
|
--> $DIR/issue-40782.rs:6:12
|
|
|
|
|
LL | for _i of 0..2 {
|
|
| ^^ help: try using `in` here instead
|
|
|
|
error: aborting due to 2 previous errors
|
|
|