1 /* Checks whether issue #84592 has been resolved. The issue was
2 * that in this example, there are two expected/missing lifetime
3 * parameters with *different spans*, leading to incorrect
4 * suggestions from rustc.
7 struct TwoLifetimes<'x, 'y> {
12 fn two_lifetimes_needed(a: &(), b: &()) -> TwoLifetimes<'_, '_> {
13 //~^ ERROR missing lifetime specifiers [E0106]
14 TwoLifetimes { x: &(), y: &() }