1 #![feature(generic_associated_types)]
7 struct Foo<'a, 'b, 'c> {
13 fn foo<'c, 'd>(_arg: Box<dyn X<Y = (&'c u32, &'d u32)>>) {}
14 //~^ ERROR missing generics for associated type
16 fn bar<'a, 'b, 'c>(_arg: Foo<'a, 'b>) {}
17 //~^ ERROR this struct takes 3 lifetime arguments but 2 lifetime
19 fn f<'a>(_arg: Foo<'a>) {}
20 //~^ ERROR this struct takes 3 lifetime arguments but 1 lifetime