3 // Regression test for issue #62382.
5 use std::future::Future;
7 fn get_future() -> impl Future<Output = ()> {
8 //~^ ERROR the trait bound `(): std::future::Future` is not satisfied
13 let a; //~ ERROR type inside `async fn` body must be known in this context