-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal
Milestone
Description
NLL has regressed some test cases in that it will highlight the whole span of a lambda expression (i.e. the |args, ... | { body ... }) rather than focus in on the occurrence(s) of the relevant free variable(s) within that lambda expression.
One instances of this is:
compare that output with that from the old AST borrowck:
(In addition, AST borrowck is noting that such a capture of a free variable is occurring, and highlights the parameter list saying "capture occurs here"; but this additional detail seems like very low priority to fix, if we want to fix it at all.)
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal