NLL diagnostic regression on generator + short-lived yield #56508
Labels
A-coroutines
Area: Coroutines
A-NLL
Area: Non-lexical lifetimes (NLL)
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
NLL-diagnostics
Working towards the "diagnostic parity" goal
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Spawned off of issue #55850 and PR #56460
Consider code like this (it is issue-55850.rs from PR #56460):
Right now, AST-borrowck includes this note:
but even after PR #56460 lands (fixing an ICE), NLL does not include such a note.
The text was updated successfully, but these errors were encountered: