@@ -814,21 +814,15 @@ impl Session {
814814 if self_contained { vec ! [ p. clone( ) , p. join( "self-contained" ) ] } else { vec ! [ p] }
815815 }
816816
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 ) {
823818 let mut incr_comp_session = self . incr_comp_session . borrow_mut ( ) ;
824819
825820 if let IncrCompSession :: NotInitialized = * incr_comp_session {
826821 } else {
827822 panic ! ( "Trying to initialize IncrCompSession `{:?}`" , * incr_comp_session)
828823 }
829824
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 } ;
832826 }
833827
834828 pub fn finalize_incr_comp_session ( & self , new_directory_path : PathBuf ) {
@@ -1686,7 +1680,7 @@ enum IncrCompSession {
16861680 NotInitialized ,
16871681 /// This is the state during which the session directory is private and can
16881682 /// be modified.
1689- Active { session_directory : PathBuf , lock_file : flock:: Lock , load_dep_graph : bool } ,
1683+ Active { session_directory : PathBuf , lock_file : flock:: Lock } ,
16901684 /// This is the state after the session directory has been finalized. In this
16911685 /// state, the contents of the directory must not be modified any more.
16921686 Finalized { session_directory : PathBuf } ,
0 commit comments