Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
auxiliary
/
metadata-sufficient-for-layout.rs
blob: dc0521853409e6481953f3aadd8771730fb43907 [
file
] [
log
] [
blame
]
// compile-flags: --emit metadata
#![
feature
(
coroutines
,
coroutine_trait
)]
use
std
::
marker
::
Unpin
;
use
std
::
ops
::
Coroutine
;
pub
fn
g
()
->
impl
Coroutine
<(),
Yield
=
(),
Return
=
()>
{
||
{
yield
;
}
}