rust/src/test/ui/suggestions/suggest-labels.stderr

37 lines
912 B
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
|
2019-03-09 12:03:44 +00:00
LL | break 'fo;
| ^^^
|
help: a label with a similar name exists in this scope
|
LL | break 'foo;
| ^^^^
error[E0426]: use of undeclared label `'bor`
2018-12-25 15:56:47 +00:00
--> $DIR/suggest-labels.rs:8:18
|
2019-03-09 12:03:44 +00:00
LL | continue 'bor;
| ^^^^
|
help: a label with a similar name exists in this scope
|
LL | continue 'bar;
| ^^^^
error[E0426]: use of undeclared label `'longlable`
2018-12-25 15:56:47 +00:00
--> $DIR/suggest-labels.rs:13:19
|
2019-03-09 12:03:44 +00:00
LL | break 'longlable;
| ^^^^^^^^^^
|
help: a label with a similar name exists in this scope
|
LL | break '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`.