Move OnDiskCache to rustc_query_impl.

This commit is contained in:
Camille GILLOT 2021-06-28 21:12:01 +02:00
parent 68511b574f
commit 81241cbf3a
14 changed files with 226 additions and 197 deletions

View file

@ -367,7 +367,7 @@ fn add_query_description_impl(
tcx: QueryCtxt<'tcx>,
id: SerializedDepNodeIndex
) -> Option<Self::Value> {
tcx.on_disk_cache.as_ref()?.try_load_query_result(*tcx, id)
tcx.on_disk_cache().as_ref()?.try_load_query_result(*tcx, id)
}
}
};