rust/tests/ui/parser/issues/issue-51602.stderr

15 lines
316 B
Plaintext
Raw Normal View History

error: expected `{`, found keyword `in`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-51602.rs:2:10
2018-08-14 14:05:27 -05:00
|
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 {
| ^
2018-08-14 14:05:27 -05:00
error: aborting due to previous error