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

10 lines
164 B
Rust
Raw Normal View History

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