Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
async-await
/
issue-68523.rs
blob: 7a67661a0197be9d46d8342d7a07995ad8753acd [
file
] [
log
] [
blame
]
// edition:2018
async
fn
main
()
->
Result
<
i32
,
()>
{
//~^ ERROR `main` function is not allowed to be `async`
Ok
(
1
)
}