]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/immovable_generators.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / immovable_generators.rs
1 #![feature(generators)]
2
3 unsafe fn foo() {
4     let mut ga = static || {
5         yield 1;
6     };
7 }