2023-01-12 13:40:22 -06:00
|
|
|
error: expected a label, found an identifier
|
|
|
|
--> $DIR/recover-unticked-labels.rs:5:26
|
2023-01-12 13:25:32 -06:00
|
|
|
|
|
2023-01-12 13:40:22 -06:00
|
|
|
LL | 'label: loop { break label 0 };
|
2023-04-26 19:53:06 -05:00
|
|
|
| -^^^^
|
|
|
|
| |
|
|
|
|
| help: labels start with a tick
|
2023-01-12 13:25:32 -06:00
|
|
|
|
2023-01-12 13:40:22 -06:00
|
|
|
error: expected a label, found an identifier
|
|
|
|
--> $DIR/recover-unticked-labels.rs:6:29
|
2023-01-12 13:25:32 -06:00
|
|
|
|
|
2023-01-12 13:40:22 -06:00
|
|
|
LL | 'label: loop { continue label };
|
2023-04-26 19:53:06 -05:00
|
|
|
| -^^^^
|
|
|
|
| |
|
|
|
|
| help: labels start with a tick
|
2023-01-12 13:25:32 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `label` in this scope
|
2023-01-12 13:40:22 -06:00
|
|
|
--> $DIR/recover-unticked-labels.rs:4:26
|
2023-01-12 13:25:32 -06:00
|
|
|
|
|
2023-01-12 13:40:22 -06:00
|
|
|
LL | 'label: loop { break label };
|
2023-01-12 13:25:32 -06:00
|
|
|
| ------ ^^^^^
|
|
|
|
| | |
|
|
|
|
| | 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`.
|