Move a use
to a more sensible spot.
I.e. in the source file where it's used.
This commit is contained in:
parent
ca29c272e7
commit
8da1b33153
@ -18,7 +18,6 @@ mod assert_dep_graph;
|
|||||||
mod errors;
|
mod errors;
|
||||||
mod persist;
|
mod persist;
|
||||||
|
|
||||||
use assert_dep_graph::assert_dep_graph;
|
|
||||||
pub use persist::copy_cgu_workproduct_to_incr_comp_cache_dir;
|
pub use persist::copy_cgu_workproduct_to_incr_comp_cache_dir;
|
||||||
pub use persist::finalize_session_directory;
|
pub use persist::finalize_session_directory;
|
||||||
pub use persist::in_incr_comp_dir;
|
pub use persist::in_incr_comp_dir;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
use crate::assert_dep_graph::assert_dep_graph;
|
||||||
use crate::errors;
|
use crate::errors;
|
||||||
use rustc_data_structures::fx::FxIndexMap;
|
use rustc_data_structures::fx::FxIndexMap;
|
||||||
use rustc_data_structures::sync::join;
|
use rustc_data_structures::sync::join;
|
||||||
@ -39,7 +40,7 @@ pub fn save_dep_graph(tcx: TyCtxt<'_>) {
|
|||||||
let dep_graph_path = dep_graph_path(sess);
|
let dep_graph_path = dep_graph_path(sess);
|
||||||
let staging_dep_graph_path = staging_dep_graph_path(sess);
|
let staging_dep_graph_path = staging_dep_graph_path(sess);
|
||||||
|
|
||||||
sess.time("assert_dep_graph", || crate::assert_dep_graph(tcx));
|
sess.time("assert_dep_graph", || assert_dep_graph(tcx));
|
||||||
sess.time("check_dirty_clean", || dirty_clean::check_dirty_clean_annotations(tcx));
|
sess.time("check_dirty_clean", || dirty_clean::check_dirty_clean_annotations(tcx));
|
||||||
|
|
||||||
if sess.opts.unstable_opts.incremental_info {
|
if sess.opts.unstable_opts.incremental_info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user