summaryrefslogtreecommitdiffstats
path: root/tests/ui/obsolete-in-place/bad.stderr
blob: 363dfb77628c45061a893c63bfc6911d4456a19e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: unexpected token: `<-`
  --> $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;
   |       ~~~

error: expected expression, found keyword `in`
  --> $DIR/bad.rs:10:5
   |
LL |     in(foo) { bar };
   |     ^^ expected expression

error: aborting due to 2 previous errors