1 error[E0311]: the parameter type `C` may not live long enough
2 --> $DIR/issue-92096.rs:20:33
4 LL | fn call_connect<C>(c: &'_ C) -> impl '_ + Future + Send
5 | - ^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `C` will meet its required lifetime bounds
7 | help: consider adding an explicit lifetime bound...: `C: 'a`
9 error[E0311]: the parameter type `C` may not live long enough
10 --> $DIR/issue-92096.rs:20:33
12 LL | fn call_connect<C>(c: &'_ C) -> impl '_ + Future + Send
13 | - ^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `C` will meet its required lifetime bounds
15 | help: consider adding an explicit lifetime bound...: `C: 'a`
17 error: aborting due to 2 previous errors