2019-10-09 08:50:39 -04:00
|
|
|
// Regression test for #65159. We used to ICE.
|
|
|
|
//
|
|
|
|
// edition:2018
|
|
|
|
|
2021-01-02 19:45:11 +01:00
|
|
|
async fn copy() -> Result<()>
|
2021-02-18 21:01:44 +01:00
|
|
|
//~^ ERROR this enum takes 2 generic arguments
|
2019-10-09 08:50:39 -04:00
|
|
|
{
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { }
|