Closed
Description
Code
fn main() {
loop 'a: { return; }
}
Current output
error: block label not supported here
--> src/main.rs:2:10
|
2 | loop 'a: { return; }
| ^^^ not supported here
Desired output
error: misplaced loop label
--> src/main.rs:2:10
|
2 | loop 'a: { return; }
| ^^^ not supported here
help: change this to `'a: loop {`
Rust Version
1.85.0