Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix the compilation (#22010)

Kirill Bulatov1ac60289fe15
diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs
index 6aa1f83bb0a..c70a72f0e14 100644
--- a/crates/project/src/task_inventory.rs
+++ b/crates/project/src/task_inventory.rs
@@ -427,7 +427,10 @@ mod test_inventory {
.into_iter()
.filter_map(|(source_kind, task)| {
let id_base = source_kind.to_id_base();
- Some((source_kind, task.resolve_task(&id_base, task_context)?))
+ Some((
+ source_kind,
+ task.resolve_task(&id_base, Default::default(), task_context)?,
+ ))
})
.map(|(source_kind, resolved_task)| (source_kind, resolved_task.resolved_label))
.collect()