diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-18 11:28:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-18 11:28:02 +0100 |
| commit | df428917ef5346b28958223e2d07b66ec79fe9f3 (patch) | |
| tree | 26fd7bc25a0a4fc15874a385496c3ac5d6bf5a93 /compiler/rustc_query_impl/src/on_disk_cache.rs | |
| parent | 069ffec6373af8ad7027b74e7b43b042d83308bf (diff) | |
| parent | 77a0c65264ebe36ac7e3fecc775cfe05dfeeec46 (diff) | |
| download | rust-df428917ef5346b28958223e2d07b66ec79fe9f3.tar.gz rust-df428917ef5346b28958223e2d07b66ec79fe9f3.zip | |
Rollup merge of #91923 - LegionMammal978:less-inband-query_impl, r=michaelwoerister
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.rs | 2 |
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. |
