1 error[E0308]: mismatched types
2 --> $DIR/box-future-wrong-output.rs:20:39
4 LL | let _: BoxFuture<'static, bool> = async {}.boxed();
5 | ------------------------ ^^^^^^^^^^^^^^^^ expected `bool`, found `()`
9 = note: expected struct `Pin<Box<(dyn Future<Output = bool> + Send + 'static)>>`
10 found struct `Pin<Box<dyn Future<Output = ()> + Send>>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.