]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/placement-syntax.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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