]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/redundant_closure_call_fixable.rs
Auto merge of #76931 - oli-obk:const_prop_inline_lint_madness, r=wesleywiser
[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 }