2 type Y<'a> where Self: 'a;
3 fn m(&self) -> Self::Y<'_>;
9 fn m(&self) -> Self::Y<'_> {
14 fn f(x: &impl for<'a> X<Y<'a> = &'a ()>) -> &'static () {
16 //~^ ERROR lifetime may not live long enough
19 fn g<T: for<'a> X<Y<'a> = &'a ()>>(x: &T) -> &'static () {
21 //~^ ERROR lifetime may not live long enough
24 fn h(x: &()) -> &'static () {
26 //~^ ERROR lifetime may not live long enough