Skip to content

merge old and new style region constraints into one thing #18

Description

@BoxyUwU

currently the Infcx can store both old and new style constraints. This is kind of annoying from an implementation complexity POV. But also it means that it's easy to have logic written for old style region cosntraints which silently ignores new-style constraints which is wrong.

For example scrape_region_constraints in mir typeck seems to ignore abby's constraints I think? as well as helper methods like take_and_reset_region_constraints

We should only have one kind of region constraint and just use it everywhere even before abby is stable. This will need us to:

#t-types/trait-system-refactor > `unic-ucd-name-0.9.0` minimization @ 💬

#t-types/assumptions-on-binders > merging old and new style constraints

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions