2019-08-11 16:37:05 -05:00
|
|
|
error: unexpected token: `<-`
|
2019-05-13 16:19:19 -05:00
|
|
|
--> $DIR/placement-syntax.rs:3:9
|
2018-06-28 16:58:54 -05:00
|
|
|
|
|
|
|
|
LL | if x<-1 {
|
2019-08-11 16:37:05 -05:00
|
|
|
| ^^
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2019-08-11 16:37:05 -05:00
|
|
|
help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
|
|
|
|
|
|
|
|
|
LL | if x< -1 {
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~
|
2018-06-28 16:58:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|