Skip to content

don't use region variables in borrowck query response #111310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aliemjay opened this issue May 7, 2023 · 0 comments
Open

don't use region variables in borrowck query response #111310

aliemjay opened this issue May 7, 2023 · 0 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@aliemjay
Copy link
Member

aliemjay commented May 7, 2023

ClosureOutlivesRequirements abuses RegionVids by using them as an index into the early bound regions of the closure. This should be changed to use late-bound regions instead and instantiating them later in a way similar to ClosureOutlivesSubjectTy.

See the original discussion in #108691 (comment).

@aliemjay aliemjay added C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant