Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
async-await
/
issues
/
issue-65159.rs
blob: 1dbf5db6c32ed9bdae77c7c18787f270c9d003db [
file
] [
log
] [
blame
]
// 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
()
{
}