dc9dc135 XL |
1 | error: expected `{`, found `<-` |
2 | --> $DIR/placement-syntax.rs:3:9 |
8faf50e0 XL |
3 | | |
4 | LL | if x<-1 { |
dc9dc135 XL |
5 | | -- ^^ expected `{` |
6 | | | |
7 | | this `if` statement has a condition, but no block |
8faf50e0 XL |
8 | |
9 | error: aborting due to previous error |
10 | |