mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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
|
|
|