4 // Regression test for #47511: anonymous lifetimes can appear
5 // unconstrained in a return type, but only if they appear just once
6 // in the input, as the input to a projection.
12 fn g<'a>(_: X<'a>) -> X<'a> {
16 type X<'a> = <&'a () as Trait>::Value;
22 impl<'a> Trait for &'a () {