defining type-alias-impl-trait inside closures is broken #105498
Labels
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
T-types
Relevant to the types team, which will review and decide on the PR/issue.
All these test cases should pass:
The current algorithm for member constraints is broken when used in closures because it assumes the relations between universal regions to be known, which is not true when we're borrow-checking closures.
@rustbot label C-bug T-types F-type_alias_impl_trait A-borrow-checker
The text was updated successfully, but these errors were encountered: