2 use core::future::Future;
4 async fn base_thing() -> Result<(), ()> {
8 fn thing_one() -> impl Future<Output = Result<(), ()>> {
12 fn thing_two() -> impl Future<Output = Result<(), ()>> {
16 async fn thing() -> Result<(), ()> {
20 thing_two() //~ ERROR `if` and `else` have incompatible types