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> where T: 'x = (&'x ());
26 type B<'u, 'v> where 'u: 'v = (&'v &'u ());
27 type C where Self: Clone + ToOwned = String;