NLL: incorrect "unused mut" lint warning, with multiple closures #51904
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Found while trying to bootstrap Rust with NLL enabled, just in case we're not already tracking this incorrect warning (as we're already tracking other similar ones in #51801 and #51830 and more).
Reduced from
libsyntax::parser::parser::parse_dot_or_call_expr_with
. Probably not exactly minimal, but smaller than the whole parser :)Repro here on the playground
The text was updated successfully, but these errors were encountered: