Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
issues
/
issue-65159.rs
blob: 78492d55fdaa5af6141fb4842a5f26fdae858dfa [
file
] [
log
] [
blame
] [
edit
]
// 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
()
{}