Skip to content

Remove ConstrainVarSubReg from inference and replace with a verify #29436

Closed
@nikomatsakis

Description

@nikomatsakis

Region inference needs some big-scale love, but even without that it has some deprecated bits. For example, the role of ConstrainVarSubReg has really been relegated to a verification step. We ought to remove it and just use VerifyRegSubReg. I started doing this, but it gets a bit complicated in dealing with the error reporting code (which itself needs to be reworked). So I decided to put it off for now and label it a FIXME.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions