@@ -814,21 +814,15 @@ impl Session {
814
814
if self_contained { vec ! [ p. clone( ) , p. join( "self-contained" ) ] } else { vec ! [ p] }
815
815
}
816
816
817
- pub fn init_incr_comp_session (
818
- & self ,
819
- session_dir : PathBuf ,
820
- lock_file : flock:: Lock ,
821
- load_dep_graph : bool ,
822
- ) {
817
+ pub fn init_incr_comp_session ( & self , session_dir : PathBuf , lock_file : flock:: Lock ) {
823
818
let mut incr_comp_session = self . incr_comp_session . borrow_mut ( ) ;
824
819
825
820
if let IncrCompSession :: NotInitialized = * incr_comp_session {
826
821
} else {
827
822
panic ! ( "Trying to initialize IncrCompSession `{:?}`" , * incr_comp_session)
828
823
}
829
824
830
- * incr_comp_session =
831
- IncrCompSession :: Active { session_directory : session_dir, lock_file, load_dep_graph } ;
825
+ * incr_comp_session = IncrCompSession :: Active { session_directory : session_dir, lock_file } ;
832
826
}
833
827
834
828
pub fn finalize_incr_comp_session ( & self , new_directory_path : PathBuf ) {
@@ -1686,7 +1680,7 @@ enum IncrCompSession {
1686
1680
NotInitialized ,
1687
1681
/// This is the state during which the session directory is private and can
1688
1682
/// be modified.
1689
- Active { session_directory : PathBuf , lock_file : flock:: Lock , load_dep_graph : bool } ,
1683
+ Active { session_directory : PathBuf , lock_file : flock:: Lock } ,
1690
1684
/// This is the state after the session directory has been finalized. In this
1691
1685
/// state, the contents of the directory must not be modified any more.
1692
1686
Finalized { session_directory : PathBuf } ,
0 commit comments