// check-pass trait Foo {} trait Bar { type A; type B; } trait Baz: Bar + Foo {} fn main() {}