Move import.

This commit is contained in:
Camille GILLOT 2020-03-23 07:28:53 +01:00
parent 9f4c8889e5
commit 0f918cba3f

View file

@ -1,4 +1,5 @@
use crate::ich::StableHashingContext;
use crate::ty::query::try_load_from_on_disk_cache;
use crate::ty::{self, TyCtxt};
use rustc_data_structures::profiling::SelfProfilerRef;
use rustc_data_structures::sync::Lock;
@ -148,7 +149,6 @@ impl<'tcx> DepContext for TyCtxt<'tcx> {
// Interactions with on_disk_cache
fn try_load_from_on_disk_cache(&self, dep_node: &DepNode) {
use crate::ty::query::try_load_from_on_disk_cache;
try_load_from_on_disk_cache(*self, dep_node)
}