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