-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints
Description
It seems that #27093 did not fully fix #25343. The following code reports a spurious warning on 'b:
'a: loop { break; }
'b: loop { break; }
// no warning
fn does_not_shadow() {
'a: loop {}
}
// false positive
let also_does_not_shadow = || {
'b: loop {}
};Stable, beta, nightly.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints