fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
410 B19 linesraw
1error: unexpected token: `<-`
2  --> $DIR/bad.rs:5:7
3   |
4LL |     x <- y;
5   |       ^^
6   |
7help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
8   |
9LL |     x < - y;
10   |       ~~~
11
12error: expected expression, found keyword `in`
13  --> $DIR/bad.rs:10:5
14   |
15LL |     in(foo) { bar };
16   |     ^^ expected expression
17
18error: aborting due to 2 previous errors
19