]> git.lizzy.rs Git - rust.git/blob - tests/source/issue_4374.rs
Fix typos “an”→“a” and a few different ones that appeared in the same search
[rust.git] / tests / source / 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 }