blob: 5cf463677af1d58fb2209a851fa25fa6397a7cf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
error: expected a label, found an identifier
--> $DIR/recover-unticked-labels.rs:5:26
|
LL | 'label: loop { break label 0 };
| ^^^^^
|
help: labels start with a tick
|
LL | 'label: loop { break 'label 0 };
| +
error: expected a label, found an identifier
--> $DIR/recover-unticked-labels.rs:6:29
|
LL | 'label: loop { continue label };
| ^^^^^
|
help: labels start with a tick
|
LL | 'label: loop { continue 'label };
| +
error[E0425]: cannot find value `label` in this scope
--> $DIR/recover-unticked-labels.rs:4:26
|
LL | 'label: loop { break label };
| ------ ^^^^^
| | |
| | not found in this scope
| | help: use the similarly named label: `'label`
| a label with a similar name exists
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0425`.
|