about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-27 09:26:35 +0000
committerbors <bors@rust-lang.org>2024-01-27 09:26:35 +0000
commit8905f78832c4dc2ab99d1a26141a39e3830aa780 (patch)
treed96b74085581c8cd0b853195e9bf8219b9fdaeed /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8de9d8ce996072f728fbba6fb6a10f01df6600c6 (diff)
parente0228eeb94501cd864b0fb6edb019f401111d586 (diff)
downloadrust-8905f78832c4dc2ab99d1a26141a39e3830aa780.tar.gz
rust-8905f78832c4dc2ab99d1a26141a39e3830aa780.zip
Auto merge of #12082 - PartiallyTyped:1553, r=dswij
Fixed 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 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions