rust/tests/ui/binop/placement-syntax.stderr

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

14 lines
296 B
Plaintext
Raw Normal View History

error: unexpected token: `<-`
2019-05-13 21:19:19 +00:00
--> $DIR/placement-syntax.rs:3:9
|
LL | if x<-1 {
| ^^
|
help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
|
LL | if x< -1 {
| ~~~
error: aborting due to 1 previous error