fork/rust

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

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

master
1.1 KiB37 linesraw
1error: malformed loop label
2  --> $DIR/label_misspelled_2.rs:10:5
3   |
4LL |     c: for _ in 0..1 {
5   |     ^ help: use the correct loop label format: `'c`
6
7error: malformed loop label
8  --> $DIR/label_misspelled_2.rs:13:5
9   |
10LL |     d: for _ in 0..1 {
11   |     ^ help: use the correct loop label format: `'d`
12
13error[E0425]: cannot find value `b` in this scope
14  --> $DIR/label_misspelled_2.rs:8:15
15   |
16LL |     'b: for _ in 0..1 {
17   |     -- a label with a similar name exists
18LL |         break b;
19   |               ^
20   |               |
21   |               not found in this scope
22   |               help: use the similarly named label: `'b`
23
24error[E0425]: cannot find value `d` in this scope
25  --> $DIR/label_misspelled_2.rs:14:15
26   |
27LL |     d: for _ in 0..1 {
28   |     - a label with a similar name exists
29LL |         break d;
30   |               ^
31   |               |
32   |               not found in this scope
33   |               help: use the similarly named label: `'d`
34
35error: aborting due to 4 previous errors
36
37For more information about this error, try `rustc --explain E0425`.