1 error[E0308]: `match` arms have incompatible types
2 --> $DIR/issue-81839.rs:11:14
6 LL | | cx.answer_str("hi");
7 | | --------------------
9 | | | help: consider removing this semicolon
10 | | this is found to be of type `()`
12 LL | | _ => cx.answer_str("hi"),
13 | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found opaque type
15 | |_____- `match` arms have incompatible types
17 = note: expected unit type `()`
18 found opaque type `impl Future<Output = Test>`
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0308`.