-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Milestone
Description
As described in #2202 and this blog post, the borrow checker's treatment of closures needs to be changed. When a new closure is created, we should analyze the upvars that it accesses and create suitable borrows of those upvars that persist for the closure's lifetime. This is interrelated with #3696.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.