mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
12 lines
174 B
Rust
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() { }
|