mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
8 lines
99 B
Rust
8 lines
99 B
Rust
#![feature(generators)]
|
|
|
|
unsafe fn foo() {
|
|
let mut ga = static || {
|
|
yield 1;
|
|
};
|
|
}
|