rust/tests/ui/async-await/issue-77993-2.rs

10 lines
165 B
Rust

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