1 2 3 4 5 6 7 8
// run-rustfix #![warn(clippy::redundant_closure_call)] #![allow(unused)] fn main() { let a = (|| 42)(); }