Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
entry-point
/
async-main.rs
blob: 0d1968ca777fc0a6eeb3b291c73cb60eddf5cfff [
file
]
//! Regression test for https://github.com/rust-lang/rust/issues/78905.
//@ edition:2018
async
fn
main
()
{}
//~^ ERROR `main` function is not allowed to be `async`