Closed
Description
error: non-defining existential type use in defining scope
--> src/main.rs:9:22
|
9 | fn bar() -> ServeFut {
| ______________________^
10 | | async move {
11 | | let x = 5;
12 | | await!(foo(&x))
13 | | }
14 | | }
| |_^ lifetime `'_` is part of concrete type but not used in parameter list of existential type
error: aborting due to previous error
cc @oli-obk