| +++++++++ +
error[E0308]: mismatched types
- --> $DIR/expected-boxed-future-isnt-pinned.rs:18:5
+ --> $DIR/expected-boxed-future-isnt-pinned.rs:15:5
|
LL | fn bar<F: Future<Output=i32> + Send + 'static>(x: F) -> BoxFuture<'static, i32> {
| ----------------------- expected `Pin<Box<(dyn Future<Output = i32> + Send + 'static)>>` because of return type