rust/tests/ui/async-await/issues/issue-65159.rs
2024-02-16 20:02:50 +00:00

12 lines
169 B
Rust

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