1
Fork 0

Remove in_band_lifetimes from rustc_query_impl

See #91867 for more information.
This commit is contained in:
LegionMammal978 2021-12-14 12:13:07 -05:00
parent 404c8471ab
commit 77a0c65264
5 changed files with 7 additions and 8 deletions

View file

@ -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.