about summary refs log tree commit diff
path: root/tests/coverage/bench.coverage
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
commit867d39cdf625e4db4b381faff993346582e598b4 (patch)
treeb10ebdac6a3b0d41343d53b1d844da9bf462fd51 /tests/coverage/bench.coverage
parent4cb17b4e78e0540e49d2da884cc621a6bf6f47fa (diff)
parente532b0dd7e632fc017f9f66a1fb24c7183a40dff (diff)
downloadrust-867d39cdf625e4db4b381faff993346582e598b4.tar.gz
rust-867d39cdf625e4db4b381faff993346582e598b4.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 'tests/coverage/bench.coverage')
0 files changed, 0 insertions, 0 deletions