1 #![feature(generic_associated_types)]
12 type Quux<'a>: Foo where Self: 'a;
14 // This weird type tests that we can use universal function call syntax to access the Item on
15 type Baa<'a>: Deref<Target = <Self::Quux<'a> as Foo>::Bar<'a, 'static>> where Self: 'a;
18 impl<T> Baz for T where T: Foo {
19 type Quux<'a> where T: 'a = T;
21 type Baa<'a> where T: 'a = &'a <T as Foo>::Bar<'a, 'static>;