fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0106]: missing lifetime specifiers 2 --> $DIR/issue-84592.rs:12:57 3 | 4LL | fn two_lifetimes_needed(a: &(), b: &()) -> TwoLifetimes<'_, '_> { 5 | --- --- ^^ ^^ expected named lifetime parameter 6 | | 7 | expected named lifetime parameter 8 | 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` 10help: consider introducing a named lifetime parameter 11 | 12LL | fn two_lifetimes_needed<'a>(a: &'a (), b: &'a ()) -> TwoLifetimes<'a, 'a> { 13 | ++++ ++ ++ ~~ ~~ 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0106`.