mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
15 lines
316 B
Plaintext
15 lines
316 B
Plaintext
error: expected `{`, found keyword `in`
|
|
--> $DIR/issue-51602.rs:2:10
|
|
|
|
|
LL | if i in 1..10 {
|
|
| ^^ expected `{`
|
|
|
|
|
note: the `if` expression is missing a block after this condition
|
|
--> $DIR/issue-51602.rs:2:8
|
|
|
|
|
LL | if i in 1..10 {
|
|
| ^
|
|
|
|
error: aborting due to previous error
|
|
|