about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-03-23 07:28:53 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2020-03-23 23:19:08 +0100
commit0f918cba3ff48216a140db4fd06e2ea13abc78c9 (patch)
tree8678e532097dba374389ddc411a154d354ed2c42
parent9f4c8889e51cf60641b42b7e43bfdf048dbd692d (diff)
downloadrust-0f918cba3ff48216a140db4fd06e2ea13abc78c9.tar.gz
rust-0f918cba3ff48216a140db4fd06e2ea13abc78c9.zip
Move import.
-rw-r--r--src/librustc/dep_graph/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/dep_graph/mod.rs b/src/librustc/dep_graph/mod.rs
index 4ed2d32c23b..3c39597584d 100644
--- a/src/librustc/dep_graph/mod.rs
+++ b/src/librustc/dep_graph/mod.rs
@@ -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)
     }