rust/tests/ui/async-await/issues/issue-65159.rs
2024-03-20 13:00:34 -04:00

13 lines
211 B
Rust

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