fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
897 B33 linesraw
1error[E0426]: use of undeclared label `'fo`
2  --> $DIR/suggest-labels.rs:4:15
3   |
4LL |         break 'fo;
5   |               ^^^
6help: a label with a similar name exists in this scope
7   |
8LL |         break 'foo;
9   |               ^^^^
10
11error[E0426]: use of undeclared label `'bor`
12  --> $DIR/suggest-labels.rs:8:18
13   |
14LL |         continue 'bor;
15   |                  ^^^^
16help: a label with a similar name exists in this scope
17   |
18LL |         continue 'bar;
19   |                  ^^^^
20
21error[E0426]: use of undeclared label `'longlable`
22  --> $DIR/suggest-labels.rs:13:19
23   |
24LL |             break 'longlable;
25   |                   ^^^^^^^^^^
26help: a label with a similar name exists in this scope
27   |
28LL |             break 'longlabel1;
29   |                   ^^^^^^^^^^^
30
31error: aborting due to 3 previous errors
32
33For more information about this error, try `rustc --explain E0426`.