rust/tests/ui/associated-type-bounds/handle-predicates-that-can-...

11 lines
126 B
Rust

//@ check-pass
trait Foo<T> {}
trait Bar {
type A;
type B;
}
trait Baz: Bar<B = u32> + Foo<Self::A> {}
fn main() {}