You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test should succeed, but currently doesn't find a solution:
program {
trait Base {}
trait Super where Self: Base {}
impl Base for () {}
impl Super for () {}
opaque type Opaque: Super = ();
}
goal {
Opaque: Base
} yields {
"Unique"
}
I'm assuming we need to generate Implemented clauses for all super traits, like we do for dyn Trait types.
The text was updated successfully, but these errors were encountered:
Opaque types currently don't find impls for super traits.
Originally found here: rust-lang/rust-analyzer#7273
This test should succeed, but currently doesn't find a solution:
I'm assuming we need to generate
Implemented
clauses for all super traits, like we do fordyn Trait
types.The text was updated successfully, but these errors were encountered: