blob: e6250c40c714c3f2147fe02a0d5baf644b3e8479 [file] [log] [blame]
// edition:2018
async fn main() -> Result<i32, ()> {
//~^ ERROR `main` function is not allowed to be `async`
//~^^ ERROR `main` has invalid return type `impl std::future::Future`
Ok(1)
}