summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/placement-syntax.stderr
blob: 3fdaf4cd0f55d74ef4810c57c4baf7f66ad07b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: unexpected token: `<-`
  --> $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 previous error