summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-type-bounds/handle-predicates-that-can-define-assoc-type.rs
blob: b1e54ec04493b3a3c97ecfab4b9b33ba8eae2103 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

trait Foo<T> {}
trait Bar {
    type A;
    type B;
}
trait Baz: Bar<B = u32> + Foo<Self::A> {}

fn main() {}