1 error[E0106]: missing lifetime specifiers
2 --> $DIR/issue-84592.rs:12:57
4 LL | fn two_lifetimes_needed(a: &(), b: &()) -> TwoLifetimes<'_, '_> {
5 | --- --- ^^ ^^ expected named lifetime parameter
7 | expected named lifetime parameter
9 = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `a` or `b`
10 help: consider introducing a named lifetime parameter
12 LL | fn two_lifetimes_needed<'a>(a: &'a (), b: &'a ()) -> TwoLifetimes<'a, 'a> {
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0106`.