File tree 2 files changed +1
-4
lines changed
compiler/rustc_incremental/src/persist
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,6 @@ pub fn dep_graph_path(sess: &Session) -> PathBuf {
139
139
pub fn staging_dep_graph_path ( sess : & Session ) -> PathBuf {
140
140
in_incr_comp_dir_sess ( sess, STAGING_DEP_GRAPH_FILENAME )
141
141
}
142
- pub fn dep_graph_path_from ( incr_comp_session_dir : & Path ) -> PathBuf {
143
- in_incr_comp_dir ( incr_comp_session_dir, DEP_GRAPH_FILENAME )
144
- }
145
142
146
143
pub fn work_products_path ( sess : & Session ) -> PathBuf {
147
144
in_incr_comp_dir_sess ( sess, WORK_PRODUCTS_FILENAME )
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ pub fn load_dep_graph(sess: &Session) -> DepGraphFuture {
105
105
106
106
// Calling `sess.incr_comp_session_dir()` will panic if `sess.opts.incremental.is_none()`.
107
107
// Fortunately, we just checked that this isn't the case.
108
- let path = dep_graph_path_from ( & sess. incr_comp_session_dir ( ) ) ;
108
+ let path = dep_graph_path ( & sess) ;
109
109
let report_incremental_info = sess. opts . debugging_opts . incremental_info ;
110
110
let expected_hash = sess. opts . dep_tracking_hash ( false ) ;
111
111
You can’t perform that action at this time.
0 commit comments