-
Notifications
You must be signed in to change notification settings - Fork 180
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
Clauses cleanup #638
Clauses cleanup #638
Conversation
- Use a single match on the TyKind for Implemented goals - Normalize TyKind::Alias self types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, I think. I'm a bit surprised these cases weren't covered in some form before. r=me or maybe @nikomatsakis might want a look
let binders = Binders::with_fresh_type_var(interner, |ty_var| ty_var); | ||
|
||
// forall<..., T> { | ||
// <X as Y>::Z: Trait :- T: Trait, <X as Y>::Z == T |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks to me a lot like the sem-to-syn equality work
@bors r+ |
📌 Commit 575b0ec has been approved by |
☀️ Test successful - checks-actions |
TyKind::OpaqueType
TyKind
for Implemented goalsTyKind::Alias
self types