--> $DIR/suggest-labels.rs:4:15
|
LL | break 'fo;
- | ^^^ did you mean `'foo`?
+ | ^^^
+help: a label with a similar name exists in this scope
+ |
+LL | break 'foo;
+ | ^^^^
error[E0426]: use of undeclared label `'bor`
--> $DIR/suggest-labels.rs:8:18
|
LL | continue 'bor;
- | ^^^^ did you mean `'bar`?
+ | ^^^^
+help: a label with a similar name exists in this scope
+ |
+LL | continue 'bar;
+ | ^^^^
error[E0426]: use of undeclared label `'longlable`
--> $DIR/suggest-labels.rs:13:19
|
LL | break 'longlable;
- | ^^^^^^^^^^ did you mean `'longlabel1`?
+ | ^^^^^^^^^^
+help: a label with a similar name exists in this scope
+ |
+LL | break 'longlabel1;
+ | ^^^^^^^^^^^
error: aborting due to 3 previous errors