]> git.lizzy.rs Git - rust.git/blob - tests/ui/redundant_closure_call_fixable.rs
Auto merge of #85538 - r00ster91:iterrepeat, r=Mark-Simulacrum
[rust.git] / tests / ui / redundant_closure_call_fixable.rs
1 // run-rustfix
2
3 #![warn(clippy::redundant_closure_call)]
4 #![allow(unused)]
5
6 fn main() {
7     let a = (|| 42)();
8 }