Skip to content

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

Open
@aliemjay

Description

@aliemjay

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions