2019-08-11 23:37:05 +02:00
|
|
|
error: unexpected token: `<-`
|
2019-05-13 22:19:19 +01:00
|
|
|
--> $DIR/bad.rs:5:7
|
|
|
|
|
|
|
|
|
LL | x <- y;
|
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 | x < - y;
|
2021-06-21 19:07:19 -07:00
|
|
|
| ~~~
|
2019-05-13 22:19:19 +01:00
|
|
|
|
|
|
|
error: expected expression, found keyword `in`
|
2019-07-12 18:37:57 -07:00
|
|
|
--> $DIR/bad.rs:10:5
|
2019-05-13 22:19:19 +01:00
|
|
|
|
|
|
|
|
LL | in(foo) { bar };
|
|
|
|
| ^^ expected expression
|
|
|
|
|
2019-07-12 18:37:57 -07:00
|
|
|
error: aborting due to 2 previous errors
|
2019-05-13 22:19:19 +01:00
|
|
|
|