Skip to content

Commit

Permalink
Move import.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Mar 23, 2020
1 parent 9f4c888 commit 0f918cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/dep_graph/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 0f918cb

Please sign in to comment.