]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/redundant_closure_call_fixable.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[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 }