Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
async-await
/
issues
/
issue-59001.rs
blob: ea780d9f62214922d558ee6d054562c07d952d0a [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
// edition:2018
use
std
::
future
::
Future
;
async
fn
enter
<
'
a
,
F
,
R
>(
mut
callback
:
F
)
where
F
:
FnMut
(&
'
a
mut
i32
)
->
R
,
R
:
Future
<
Output
=
()>
+
'
a
,
{
unimplemented
!()
}
fn
main
()
{}