summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issue-77993-2.rs
blob: 4d554a0a1d0e19ec2fa4382ddbf2f6363b0c702f (plain)
1
2
3
4
5
6
7
8
9
// edition:2018

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

fn main() {}