-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goalT-langRelevant to the language teamRelevant to the language team
Milestone
Description
The following ui/
tests have regressed in the quality of their diagnostic output (compared to AST borrowck, at least) due to the loss of notes of the form "closure may outlive the current function"
- borrowck/borrowck-escaping-closure-error-1.rs
- borrowck/borrowck-escaping-closure-error-2.rs
- issue-4335.stderr
- region-borrow-params-issue-29793-small.rs
-
regions-nested-fns-2.rs"closure may outlive the current function" isn't correct here - src/test/ui/issue-40510-3.nll.stderr
- src/test/ui/issue-49824.nll.stderr
(This list of tests is drawn from an informal paper document that I have been using to keep notes for myself as I work on this...)
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goalT-langRelevant to the language teamRelevant to the language team