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