diff --git a/crates/semantic_index/src/semantic_index.rs b/crates/semantic_index/src/semantic_index.rs index 65b7e40525..9d789d0eac 100644 --- a/crates/semantic_index/src/semantic_index.rs +++ b/crates/semantic_index/src/semantic_index.rs @@ -94,7 +94,6 @@ pub struct SemanticIndex { struct ProjectState { worktree_db_ids: Vec<(WorktreeId, i64)>, - worktree_file_mtimes: HashMap>, subscription: gpui::Subscription, outstanding_job_count_rx: watch::Receiver, _outstanding_job_count_tx: Arc>>, @@ -122,7 +121,6 @@ impl ProjectState { cx: &mut AppContext, subscription: gpui::Subscription, worktree_db_ids: Vec<(WorktreeId, i64)>, - worktree_file_mtimes: HashMap>, outstanding_job_count_rx: watch::Receiver, _outstanding_job_count_tx: Arc>>, ) -> Self { @@ -142,7 +140,6 @@ impl ProjectState { Self { worktree_db_ids, - worktree_file_mtimes, outstanding_job_count_rx, _outstanding_job_count_tx, subscription, @@ -834,7 +831,6 @@ impl SemanticIndex { let job_count_tx = Arc::new(Mutex::new(job_count_tx)); let job_count_tx_longlived = job_count_tx.clone(); - let worktree_file_mtimes_all = worktree_file_mtimes.clone(); let worktree_files = cx .background() .spawn(async move { @@ -896,7 +892,6 @@ impl SemanticIndex { cx, _subscription, worktree_db_ids, - worktree_file_mtimes_all, job_count_rx, job_count_tx_longlived, );