3 #![feature(generic_associated_types)]
4 #![feature(associated_type_defaults)]
7 type A<'a> where Self: 'a;
8 type B<'a, 'b> where 'a: 'b;
9 type C where Self: Clone;
16 type A<'a> = (&'a ());
17 type B<'a: 'b, 'b> = (&'a(), &'b ());
24 impl<T> Foo for Fooer<T> {
25 type A<'x> = (&'x ()) where T: 'x;
26 type B<'u, 'v> = (&'v &'u ()) where 'u: 'v;
27 type C = String where Self: Clone + ToOwned;