Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Generate projections for upvars #12

Closed
arora-aman opened this issue Jun 12, 2020 · 1 comment
Closed

Generate projections for upvars #12

arora-aman opened this issue Jun 12, 2020 · 1 comment

Comments

@arora-aman
Copy link
Member

arora-aman commented Jun 12, 2020

Currently upvars don't generate projections: https://github.com/rust-lang/rust/blob/28946b3486d507418b8a4acb92d5e2baae193d65/src/librustc_typeck/mem_categorization.rs#L4860

@arora-aman arora-aman added this to To-do in RFC-2229 via automation Jun 12, 2020
@arora-aman arora-aman moved this from To-do to In progress in RFC-2229 Jun 13, 2020
@arora-aman
Copy link
Member Author

cat_upvar is one of the base cases of recursion in cat_expr, the projections get populated as the call stack unfolds.

@ChrisPardy @null-sleep can you confirm this description is correct?

RFC-2229 automation moved this from In progress to Done Jun 20, 2020
@nikomatsakis nikomatsakis added this to the Feature complete milestone Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
RFC-2229
  
Done
Development

No branches or pull requests

5 participants