Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
auxiliary
/
xcrate-reachable.rs
blob: 673153f0619ead10ba3bcc919c6b8763d827381d [
file
] [
log
] [
blame
]
#![
feature
(
coroutines
,
coroutine_trait
)]
use
std
::
ops
::
Coroutine
;
fn
msg
()
->
u32
{
0
}
pub
fn
foo
()
->
impl
Coroutine
<(),
Yield
=
(),
Return
=
u32
>
{
||
{
yield
;
return
msg
();
}
}