rust/tests/ui/obsolete-in-place/bad.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
410 B
Plaintext
Raw Normal View History

error: unexpected token: `<-`
2019-05-13 21:19:19 +00:00
--> $DIR/bad.rs:5:7
|
LL | x <- y;
| ^^
|
help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
|
LL | x < - y;
| ~~~
2019-05-13 21:19:19 +00:00
error: expected expression, found keyword `in`
--> $DIR/bad.rs:10:5
2019-05-13 21:19:19 +00:00
|
LL | in(foo) { bar };
| ^^ expected expression
error: aborting due to 2 previous errors
2019-05-13 21:19:19 +00:00