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-02-05 18:37:05 +0000
committerbors <bors@rust-lang.org>2024-02-05 18:37:05 +0000
commitfdf819df9a96b966831079bb554231aafad3374f (patch)
treef14527931434f739d2d536babd61fa6b67cf1578 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent005b6c2424b8513ac9b8894c6a3009a837a38b80 (diff)
parent6807977153d9af737bac95693ccc211206538ec7 (diff)
downloadrust-fdf819df9a96b966831079bb554231aafad3374f.tar.gz
rust-fdf819df9a96b966831079bb554231aafad3374f.zip
Auto merge of #12227 - y21:issue12225, r=Manishearth
[`redundant_locals`]: take by-value closure captures into account

Fixes #12225

The same problem in the linked issue can happen to regular closures too, and conveniently async blocks are closures in the HIR so fixing closures will fix async blocks as well.

changelog: [`redundant_locals`]: avoid linting when redefined variable is captured by-value
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions