From 80631446e0ea6b1c9eccb93c051105ff1b08e264 Mon Sep 17 00:00:00 2001 From: R Aadarsh Date: Sun, 5 Oct 2025 12:13:20 +0530 Subject: [PATCH] Update `tests` in `copilot.rs` to match the new `load` method signature --- crates/copilot/src/copilot.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/copilot/src/copilot.rs b/crates/copilot/src/copilot.rs index 41c8a17c2d251e23f7c2d6b27fbd2ff488c1c0e4..1ca01038e28d3ce6a9fff61bfe3e4056631f4fec 100644 --- a/crates/copilot/src/copilot.rs +++ b/crates/copilot/src/copilot.rs @@ -1241,6 +1241,7 @@ async fn get_copilot_lsp(fs: Arc, node_runtime: NodeRuntime) -> anyhow:: #[cfg(test)] mod tests { use super::*; + use fs::encodings::EncodingWrapper; use gpui::TestAppContext; use util::{path, paths::PathStyle, rel_path::rel_path}; @@ -1451,7 +1452,7 @@ mod tests { self.abs_path.clone() } - fn load(&self, _: &App) -> Task> { + fn load(&self, _: &App, _: EncodingWrapper, _: bool) -> Task> { unimplemented!() }