-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
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
AdreKiseque
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Activity
zachs18 commentedon Mar 17, 2025
@rustbot claim
Rollup merge of rust-lang#138589 - zachs18:block-label-not-supported-…
Unrolled build for rust-lang#138589