]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4374.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / src / tools / rustfmt / tests / target / issue_4374.rs
1 fn a<F>(_f: F) -> ()
2 where
3     F: FnOnce() -> (),
4 {
5 }
6 fn main() {
7     a(|| {
8         #[allow(irrefutable_let_patterns)]
9         while let _ = 0 {
10             break;
11         }
12     });
13 }