summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-65159.rs
blob: 6e547508bd469dd73f1eb3d27d8370d751198d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Regression test for #65159. We used to ICE.
//
// edition:2018

async fn copy() -> Result<()>
//~^ ERROR enum takes 2 generic arguments
{
    Ok(())
}

fn main() { }