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-26 05:38:39 +0000
committerbors <bors@rust-lang.org>2024-01-26 05:38:39 +0000
commited74c22f33da446eb91d2069b3fdc8e3d93bff16 (patch)
tree30d10af9c09b0adc285fb6214babfb3063d89d53 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent66c29b973b3b10278bd39f4e26b08522a379c2c9 (diff)
parentfd3e966bdded5d556d01f1db5c3d6a78539661f8 (diff)
downloadrust-ed74c22f33da446eb91d2069b3fdc8e3d93bff16.tar.gz
rust-ed74c22f33da446eb91d2069b3fdc8e3d93bff16.zip
Auto merge of #12202 - y21:issue12199, r=Jarcho
Avoid linting redundant closure when callee is marked `#[track_caller]`

Fixes #12199

Not sure if there's a nicer way to detect functions marked `#[track_caller]` other than by just looking at its attributes 🤔

changelog: [`redundant_closure`]: [`redundant_closure_for_method_calls`]: avoid linting closures where the function being called is marked `#[track_caller]`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions