]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issue-77993-2.rs
Rollup merge of #106971 - oli-obk:tait_error, r=davidtwco
[rust.git] / tests / 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() {}