mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +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