blob: bb6a2fd1035ffbd9913dc445a7578614f12fce21 [file] [log] [blame]
//@ check-pass
trait Foo {
type Bar;
}
trait Qux: Foo + AsRef<Self::Bar> {}
trait Foo2 {}
trait Qux2: Foo2 + AsRef<Self::Bar> {
type Bar;
}
fn main() {}