//@ edition:2021//@ run-rustfix#![allow(unused)]usestd::future::Future;asyncfnfoo()->Result<(),i32>{func(async{Ok::<_,i32>(())})?;//~^ ERROR the `?` operator can only be applied to values that implement `Try`Ok(())}asyncfnfunc<T>(fut:implFuture<Output=T>)->T{fut.await}fnmain(){}