Skip to content

Commit 0f918cb

Browse files
committed
Move import.
1 parent 9f4c888 commit 0f918cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/dep_graph/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use crate::ich::StableHashingContext;
2+
use crate::ty::query::try_load_from_on_disk_cache;
23
use crate::ty::{self, TyCtxt};
34
use rustc_data_structures::profiling::SelfProfilerRef;
45
use rustc_data_structures::sync::Lock;
@@ -148,7 +149,6 @@ impl<'tcx> DepContext for TyCtxt<'tcx> {
148149

149150
// Interactions with on_disk_cache
150151
fn try_load_from_on_disk_cache(&self, dep_node: &DepNode) {
151-
use crate::ty::query::try_load_from_on_disk_cache;
152152
try_load_from_on_disk_cache(*self, dep_node)
153153
}
154154

0 commit comments

Comments
 (0)