blob: 1dbf5db6c32ed9bdae77c7c18787f270c9d003db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Regression test for #65159. We used to ICE.
//
// edition:2018
async fn copy() -> Result<()>
//~^ ERROR this enum takes 2 generic arguments
{
Ok(())
//~^ ERROR type annotations needed
}
fn main() { }
|