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