Error code E0426

An undeclared label was used.

Erroneous code example:

loop {
    break 'a; // error: use of undeclared label `'a`
}
Run

Please verify you spelled or declared the label correctly. Example:

'a: loop {
    break 'a; // ok!
}
Run

Back to list of error codes