rust/tests/ui/async-await/issue-77993-2.rs
2024-02-16 20:02:50 +00:00

10 lines
165 B
Rust

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