1 #![feature(generic_associated_types)]
7 impl<'b> ATy for &'b () {
8 type Item<'a> = &'b ();
9 //~^ ERROR the type `&'b ()` does not fulfill the required lifetime
13 type Item<'a>: 'static;
16 impl StaticTy for () {
17 type Item<'a> = &'a ();
18 //~^ ERROR the type `&'a ()` does not fulfill the required lifetime