rust/tests/ui/suggestions/suggest-labels.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.2 KiB
Plaintext
Raw Normal View History

error[E0426]: use of undeclared label `'fo`
2018-12-25 15:56:47 +00:00
--> $DIR/suggest-labels.rs:4:15
|
LL | 'foo: loop {
| ---- a label with a similar name is reachable
2019-03-09 12:03:44 +00:00
LL | break 'fo;
| ^^^
| |
| undeclared label `'fo`
| help: try using similarly named label: `'foo`
error[E0426]: use of undeclared label `'bor`
2018-12-25 15:56:47 +00:00
--> $DIR/suggest-labels.rs:8:18
|
LL | 'bar: loop {
| ---- a label with a similar name is reachable
2019-03-09 12:03:44 +00:00
LL | continue 'bor;
| ^^^^
| |
| undeclared label `'bor`
| help: try using similarly named label: `'bar`
error[E0426]: use of undeclared label `'longlable`
2018-12-25 15:56:47 +00:00
--> $DIR/suggest-labels.rs:13:19
|
LL | 'longlabel1: loop {
| ----------- a label with a similar name is reachable
2019-03-09 12:03:44 +00:00
LL | break 'longlable;
| ^^^^^^^^^^
| |
| undeclared label `'longlable`
| help: try using similarly named label: `'longlabel1`
error: aborting due to 3 previous errors
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0426`.