Open
Description
we should try to clean up our type relations further:
- try to unify
Equate
andSub
to make them closer tonll::TypeRelating
mergeLub
andGlb
into the same (maybe generic) type relation, prolly just with a fieldreuse more components, e.g. instantiating infer vars should be shared, not onlygeneralize
completely mergeEquate/Sub
andnll:TypeRelating
I intend to look into this myself but would also appreciate some help. This is a quite involved and sometimes subtle area however and I don't have the capacity for in-depth mentoring rn
Metadata
Metadata
Assignees
Labels
Area: Internal cleanup workArea: Type systemCategory: PRs that clean code up or issues documenting cleanup.Relevant to the compiler team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.The Rustc Trait System Refactor Initiative (-Znext-solver)
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]internal refactoring: combine cleanups[/-][+]internal refactoring: cleanup type relations[/+]Auto merge of rust-lang#121211 - lcnr:nll-relate-handle-infer, r=BoxyUwU
ShoyuVanilla commentedon Mar 10, 2024
It seems to be done by #121462, I guess?
ShoyuVanilla commentedon Mar 11, 2024
And
nll::TypeRelating
is moved intorustc_borrowck
in #1213215 remaining items