]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/ty_fn_sig.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / tools / clippy / tests / ui / ty_fn_sig.rs
1 // Regression test
2
3 pub fn retry<F: Fn()>(f: F) {
4     for _i in 0.. {
5         f();
6     }
7 }
8
9 fn main() {
10     for y in 0..4 {
11         let func = || ();
12         func();
13     }
14 }