Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
issue-68523.rs
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
)
}