An undeclared label was used.
Erroneous code example:
#![allow(unused)]
fn main() {
loop {
break 'a; // error: use of undeclared label `'a`
}
} Please verify you spelled or declared the label correctly. Example:
#![allow(unused)]
fn main() {
'a: loop {
break 'a; // ok!
}
}
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0426.html