]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4374.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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 }