2020-07-19 22:36:31 +00:00
|
|
|
error: closure called just once immediately after it was declared
|
2020-07-18 22:33:54 +00:00
|
|
|
--> $DIR/redundant_closure_call_late.rs:15:5
|
|
|
|
|
|
|
|
|
LL | i = redun_closure();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::redundant-closure-call` implied by `-D warnings`
|
|
|
|
|
2020-07-19 22:36:31 +00:00
|
|
|
error: closure called just once immediately after it was declared
|
2020-07-19 09:47:32 +00:00
|
|
|
--> $DIR/redundant_closure_call_late.rs:19:5
|
|
|
|
|
|
|
|
|
LL | i = shadowed_closure();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-07-19 22:36:31 +00:00
|
|
|
error: closure called just once immediately after it was declared
|
2020-07-19 09:47:32 +00:00
|
|
|
--> $DIR/redundant_closure_call_late.rs:21:5
|
|
|
|
|
|
|
|
|
LL | i = shadowed_closure();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2020-07-18 22:33:54 +00:00
|
|
|
|