20e40d5efe
And suggest adding the `#[coroutine]` to the closure
9 lines
115 B
Rust
9 lines
115 B
Rust
#![feature(coroutines)]
|
|
|
|
unsafe fn foo() {
|
|
let mut ga = #[coroutine]
|
|
static || {
|
|
yield 1;
|
|
};
|
|
}
|