mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Add regression test (fixes #2234)
This commit is contained in:
parent
f65a022ace
commit
e62727ee51
1 changed files with 6 additions and 1 deletions
|
@ -6,4 +6,9 @@ pub fn retry<F: Fn()>(f: F) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {}
|
fn main() {
|
||||||
|
for y in 0..4 {
|
||||||
|
let func = || ();
|
||||||
|
func();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue