]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issue-68523-start.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / async-await / issue-68523-start.rs
1 // edition:2018
2
3 #![feature(start)]
4
5 #[start]
6 pub async fn start(_: isize, _: *const *const u8) -> isize {
7 //~^ ERROR `start` is not allowed to be `async`
8     0
9 }