2017-10-09 17:21:09 -05:00
|
|
|
error[E0426]: use of undeclared label `'fo`
|
|
|
|
--> $DIR/suggest-labels.rs:14:15
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | break 'fo; //~ ERROR use of undeclared label
|
2017-10-09 17:21:09 -05:00
|
|
|
| ^^^ did you mean `'foo`?
|
|
|
|
|
|
|
|
error[E0426]: use of undeclared label `'bor`
|
|
|
|
--> $DIR/suggest-labels.rs:18:18
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | continue 'bor; //~ ERROR use of undeclared label
|
2017-10-09 17:21:09 -05:00
|
|
|
| ^^^^ did you mean `'bar`?
|
|
|
|
|
|
|
|
error[E0426]: use of undeclared label `'longlable`
|
|
|
|
--> $DIR/suggest-labels.rs:23:19
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | break 'longlable; //~ ERROR use of undeclared label
|
2017-10-09 17:21:09 -05:00
|
|
|
| ^^^^^^^^^^ did you mean `'longlabel1`?
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0426"
|