Quinn Sinclair e0228eeb94 Fixes FP in redundant_closure_call when closures are passed to macros
There are cases where the closure call is needed in some macros, this in
particular occurs when the closure has parameters. To handle this case,
we allow the lint when there are no parameters in the closure, or the
closure is outside a macro invocation.

fixes: #11274, #1553
changelog: FP: [`redundant_closure_call`] when closures with parameters
are passed in macros.
2024-01-13 17:45:30 +01:00
..
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00