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-08-01 07:55:37 +0000
committerbors <bors@rust-lang.org>2024-08-01 07:55:37 +0000
commit2fc74a39318e7786a0e335e6232dcf346c1a4df1 (patch)
treed2cf9d859971ecc720c5fffbd2fe7a974f8996fb /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent554230989571cf3c1cd3f011161af7034944d127 (diff)
parent0bc9f003a3fdf2d860647a22768297aaa07611e4 (diff)
downloadrust-2fc74a39318e7786a0e335e6232dcf346c1a4df1.tar.gz
rust-2fc74a39318e7786a0e335e6232dcf346c1a4df1.zip
Auto merge of #13108 - tesuji:fix_redundant_closure, r=xFrednet
Fix `redundant_closure` false positive with closures has return type contains  `'static`

Fix #13073 .

Please enable "ignore white-space change" settings in github UI for easy reviewing.

HACK: The third commit contains a hack to check if a type `T: 'static` when `fn() -> U where U: 'static`.
I don't have a clean way to check for it.

changelog: [`redundant_closure`] Fix false positive with closures has return type contains  `'static`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions