]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/redundant_closure_call_fixable.rs
Rollup merge of #71918 - GuillaumeGomez:rename-methods-section, r=Dylan-DPC
[rust.git] / src / tools / clippy / 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 }