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!() }