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