]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issue-77993-2.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / async-await / issue-77993-2.rs
1 // edition:2018
2
3 async fn test() -> Result<(), Box<dyn std::error::Error>> {
4     macro!();
5     //~^ ERROR expected identifier, found `!`
6     Ok(())
7 }
8
9 fn main() {}