1 error: try not to call a closure in the expression where it is declared.
2 --> $DIR/redundant_closure_call_early.rs:9:17
4 LL | let mut k = (|m| m + 1)(i);
7 = note: `-D clippy::redundant-closure-call` implied by `-D warnings`
9 error: try not to call a closure in the expression where it is declared.
10 --> $DIR/redundant_closure_call_early.rs:12:9
12 LL | k = (|a, b| a * b)(1, 5);
13 | ^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to 2 previous errors