]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/immovable_generators.rs
Auto merge of #84568 - andoriyu:libtest/junit_formatter, r=yaahc
[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 }