summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-65159.rs
blob: df2ca025705d3955fae6c9b1a0d7333e29f39684 (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 this enum takes 2 generic arguments
{
    Ok(())
}

fn main() { }