rust/tests/ui/async-await/issue-77993-2.rs
2023-01-11 09:32:08 +00:00

10 lines
164 B
Rust

// edition:2018
async fn test() -> Result<(), Box<dyn std::error::Error>> {
macro!();
//~^ ERROR expected identifier, found `!`
Ok(())
}
fn main() {}