2019-08-11 23:37:05 +02:00
|
|
|
error: unexpected token: `<-`
|
2019-05-13 22:19:19 +01:00
|
|
|
--> $DIR/placement-syntax.rs:3:9
|
2018-06-28 14:58:54 -07:00
|
|
|
|
|
|
|
|
LL | if x<-1 {
|
2019-08-11 23:37:05 +02:00
|
|
|
| ^^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-08-11 23:37:05 +02: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 19:07:19 -07:00
|
|
|
| ~~~
|
2018-06-28 14:58:54 -07:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-06-28 14:58:54 -07:00
|
|
|
|