Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
issues
/
issue-65159.rs
blob: 781f8fe88d4d18b8642650eb04735069df27f01b [
file
] [
log
] [
blame
]
// Regression test for #65159. We used to ICE.
//
//@ edition:2018
async
fn
copy
()
->
Result
<()>
//~^ ERROR enum takes 2 generic arguments
{
Ok
(())
}
fn
main
()
{}