rust/tests/ui/async-await/issues/issue-65159.rs
2023-01-11 09:32:08 +00:00

12 lines
174 B
Rust

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