]> git.lizzy.rs Git - rust.git/commitdiff
Move import.
authorCamille GILLOT <gillot.camille@gmail.com>
Mon, 23 Mar 2020 06:28:53 +0000 (07:28 +0100)
committerCamille GILLOT <gillot.camille@gmail.com>
Mon, 23 Mar 2020 22:19:08 +0000 (23:19 +0100)
src/librustc/dep_graph/mod.rs

index 4ed2d32c23bea604b261bb99f9018d20a83812b7..3c39597584df50cffbde05897ee6f38ce58c4b06 100644 (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 @@ fn diagnostic(&self) -> &rustc_errors::Handler {
 
     // 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)
     }