Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
issue-52304.rs
blob: fed3a5f19b3ac9a031caa7f4ba5d59872cc7d51b [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
coroutines
,
coroutine_trait
)]
use
std
::
ops
::
Coroutine
;
pub
fn
example
()
->
impl
Coroutine
{
||
yield
&
1
}
fn
main
()
{}