You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| - this type parameter ----------------------- expected `std::pin::Pin<std::boxed::Box<(dyn std::future::Future<Output = i32> + std::marker::Send + 'static)>>` because of return type
6
+
LL | // We could instead use an `async` block, but this way we have no std spans.
7
+
LL | x
8
+
| ^
9
+
| |
10
+
| expected struct `std::pin::Pin`, found type parameter `F`
11
+
| help: you need to pin and box this expression: `Box::pin(x)`
0 commit comments