1 trait FooTrait<T>: Sized {
5 trait BarTrait<T>: Sized {
10 type Foo<T: FooTrait> =
11 <<T as FooTrait<U>>::Bar as BarTrait<U>>::Baz;
12 type Bar<T: BarTrait> = <T as BarTrait<U>>::Baz;
14 fn some_func<T: FooTrait<U>, U>() {
15 <<T as FooTrait<U>>::Bar as BarTrait<U>>::foo();
18 fn some_func<T: BarTrait<U>>() {
19 <T as BarTrait<U>>::foo();