]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4374.rs
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[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 }