rust/tests/ui/async-await/issues/issue-65159.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
174 B
Rust
Raw Normal View History

// Regression test for #65159. We used to ICE.
//
// edition:2018
async fn copy() -> Result<()>
2021-02-18 14:01:44 -06:00
//~^ ERROR this enum takes 2 generic arguments
{
Ok(())
}
fn main() { }