fork/rust

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

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

master
975 B42 linesraw
1error: expected identifier, found `,`
2  --> $DIR/ident-recovery.rs:1:4
3   |
4LL | fn ,comma() {
5   |    ^
6   |    |
7   |    expected identifier
8   |    help: remove this comma
9
10error: expected identifier, found `,`
11  --> $DIR/ident-recovery.rs:4:16
12   |
13LL |         x: i32,,
14   |                ^
15   |                |
16   |                expected identifier
17   |                help: remove this comma
18
19error: expected identifier, found keyword `break`
20  --> $DIR/ident-recovery.rs:10:4
21   |
22LL | fn break() {
23   |    ^^^^^ expected identifier, found keyword
24   |
25help: escape `break` to use it as an identifier
26   |
27LL | fn r#break() {
28   |    ++
29
30error: expected identifier, found keyword `continue`
31  --> $DIR/ident-recovery.rs:12:9
32   |
33LL |     let continue = 5;
34   |         ^^^^^^^^ expected identifier, found keyword
35   |
36help: escape `continue` to use it as an identifier
37   |
38LL |     let r#continue = 5;
39   |         ++
40
41error: aborting due to 4 previous errors
42