5 struct Foo<'a, 'b, 'c> {
11 fn foo<'c, 'd>(_arg: Box<dyn X<Y = (&'c u32, &'d u32)>>) {}
12 //~^ ERROR missing generics for associated type
14 fn bar<'a, 'b, 'c>(_arg: Foo<'a, 'b>) {}
15 //~^ ERROR this struct takes 3 lifetime arguments but 2 lifetime
17 fn f<'a>(_arg: Foo<'a>) {}
18 //~^ ERROR this struct takes 3 lifetime arguments but 1 lifetime