about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry
diff options
context:
space:
mode:
authorQuinn Sinclair <me@partiallytyped.dev>2024-01-03 13:36:44 +0200
committerQuinn Sinclair <me@partiallytyped.dev>2024-01-13 17:45:30 +0100
commite0228eeb94501cd864b0fb6edb019f401111d586 (patch)
treeae8d9e469964882387ae3d531ce417418b14f384 /tests/ui/patchable-function-entry
parenta71211d0b52c01f1b37fe544e0e13fd1bdc31979 (diff)
downloadrust-e0228eeb94501cd864b0fb6edb019f401111d586.tar.gz
rust-e0228eeb94501cd864b0fb6edb019f401111d586.zip
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.
Diffstat (limited to 'tests/ui/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions