mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
13 lines
211 B
Rust
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() {}
|