]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0426.md
Rollup merge of #62514 - stephaneyfx:box-ffi, r=nikomatsakis
[rust.git] / src / librustc_error_codes / error_codes / E0426.md
1 An undeclared label was used.
2
3 Erroneous code example:
4
5 ```compile_fail,E0426
6 loop {
7     break 'a; // error: use of undeclared label `'a`
8 }
9 ```
10
11 Please verify you spelt or declare the label correctly. Example:
12
13 ```
14 'a: loop {
15     break 'a; // ok!
16 }
17 ```