]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issue-68523.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / async-await / issue-68523.rs
1 // edition:2018
2
3 async fn main() -> Result<i32, ()> {
4 //~^ ERROR `main` function is not allowed to be `async`
5     Ok(1)
6 }