diff options
| author | bors <bors@rust-lang.org> | 2024-01-21 00:33:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-21 00:33:43 +0000 |
| commit | 833cbd69f8aa847b5724e5aebde1b2cbf133c81e (patch) | |
| tree | 0310940482196d20d6a6a64d72b89f6e31a51d0d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 8b0931a2ba7bc5a4705ffba485a76c34ff02fc49 (diff) | |
| parent | 7a1e7d7df98301fecec0deeca318164c6732c1e6 (diff) | |
| download | rust-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
