about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src/on_disk_cache.rs
diff options
context:
space:
mode:
authorLegionMammal978 <mattlloydhouse@gmail.com>2021-12-14 12:13:07 -0500
committerLegionMammal978 <mattlloydhouse@gmail.com>2021-12-14 12:13:07 -0500
commit77a0c65264ebe36ac7e3fecc775cfe05dfeeec46 (patch)
treea9c45532966112f5d50498a24e073aac28fce38c /compiler/rustc_query_impl/src/on_disk_cache.rs
parent404c8471aba60c2d837fa728e7c729a0f52d5830 (diff)
downloadrust-77a0c65264ebe36ac7e3fecc775cfe05dfeeec46.tar.gz
rust-77a0c65264ebe36ac7e3fecc775cfe05dfeeec46.zip
Remove `in_band_lifetimes` from `rustc_query_impl`
See #91867 for more information.
Diffstat (limited to 'compiler/rustc_query_impl/src/on_disk_cache.rs')
-rw-r--r--compiler/rustc_query_impl/src/on_disk_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/on_disk_cache.rs b/compiler/rustc_query_impl/src/on_disk_cache.rs
index c42decdccff..11f54ea66fa 100644
--- a/compiler/rustc_query_impl/src/on_disk_cache.rs
+++ b/compiler/rustc_query_impl/src/on_disk_cache.rs
@@ -212,7 +212,7 @@ impl<'sess> rustc_middle::ty::OnDiskCache<'sess> for OnDiskCache<'sess> {
     /// Cache promotions require invoking queries, which needs to read the serialized data.
     /// In order to serialize the new on-disk cache, the former on-disk cache file needs to be
     /// deleted, hence we won't be able to refer to its memmapped data.
-    fn drop_serialized_data(&self, tcx: TyCtxt<'tcx>) {
+    fn drop_serialized_data(&self, tcx: TyCtxt<'_>) {
         // Load everything into memory so we can write it out to the on-disk
         // cache. The vast majority of cacheable query results should already
         // be in memory, so this should be a cheap operation.