]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-labels.stderr
Rollup merge of #65389 - ecstatic-morse:zero-sized-array-no-drop, r=eddyb
[rust.git] / src / test / ui / suggestions / suggest-labels.stderr
1 error[E0426]: use of undeclared label `'fo`
2   --> $DIR/suggest-labels.rs:4:15
3    |
4 LL |         break 'fo;
5    |               ^^^
6 help: a label with a similar name exists in this scope
7    |
8 LL |         break 'foo;
9    |               ^^^^
10
11 error[E0426]: use of undeclared label `'bor`
12   --> $DIR/suggest-labels.rs:8:18
13    |
14 LL |         continue 'bor;
15    |                  ^^^^
16 help: a label with a similar name exists in this scope
17    |
18 LL |         continue 'bar;
19    |                  ^^^^
20
21 error[E0426]: use of undeclared label `'longlable`
22   --> $DIR/suggest-labels.rs:13:19
23    |
24 LL |             break 'longlable;
25    |                   ^^^^^^^^^^
26 help: a label with a similar name exists in this scope
27    |
28 LL |             break 'longlabel1;
29    |                   ^^^^^^^^^^^
30
31 error: aborting due to 3 previous errors
32
33 For more information about this error, try `rustc --explain E0426`.