about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-09-04 12:27:19 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-09-06 12:43:56 +0200
commit6812aa3403cc6b8c5a229fc36f0022b06c276e3c (patch)
tree18880a9f4a0a7b00219c1d713b8f30299328cc32 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent4ae4f67e8c4c41b1c46d021be63ddc645d36154a (diff)
downloadrust-6812aa3403cc6b8c5a229fc36f0022b06c276e3c.tar.gz
rust-6812aa3403cc6b8c5a229fc36f0022b06c276e3c.zip
fix(use_self): descend into type's children when looking for lifetimes
This unfortunately breaks another test case -- it had only worked
because when we checked `!has_lifetime` on `S2<S<'a>>`, we only looked
for generic lifetime params on `S2`, forgetting to descend into `S`.

One thing that makes this a bit less sad is that this particular test
case doesn't come from a reported issue, but rather was added as a
miscellaneous check during a kind of unrelated PR.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions