]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/placement-syntax.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / binop / placement-syntax.stderr
1 error: unexpected token: `<-`
2   --> $DIR/placement-syntax.rs:3:9
3    |
4 LL |     if x<-1 {
5    |         ^^
6    |
7 help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
8    |
9 LL |     if x< -1 {
10    |         ~~~
11
12 error: aborting due to previous error
13