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-21 00:33:43 +0000
committerbors <bors@rust-lang.org>2024-01-21 00:33:43 +0000
commit833cbd69f8aa847b5724e5aebde1b2cbf133c81e (patch)
tree0310940482196d20d6a6a64d72b89f6e31a51d0d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8b0931a2ba7bc5a4705ffba485a76c34ff02fc49 (diff)
parent7a1e7d7df98301fecec0deeca318164c6732c1e6 (diff)
downloadrust-833cbd69f8aa847b5724e5aebde1b2cbf133c81e.tar.gz
rust-833cbd69f8aa847b5724e5aebde1b2cbf133c81e.zip
Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU
Don't forget that the lifetime on hir types is `'tcx`

This PR just tracks the `'tcx` lifetime to wherever the original objects actually have that lifetime. This code is needed for https://github.com/rust-lang/rust/pull/107606 (now #120131) so that `ast_ty_to_ty` can invoke `lit_to_const` on an argument passed to it. Currently the argument is `&hir::Ty<'_>`, but after this PR it is `&'tcx hir::Ty<'tcx>`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions