From 1ac60289fe1566f63a3766344b36a8a58144fb2f Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sat, 14 Dec 2024 10:02:46 +0200 Subject: [PATCH] Fix the compilation (#22010) https://github.com/zed-industries/zed/pull/21706 was merged after https://github.com/zed-industries/zed/pull/22004 and the CI missed that. Release Notes: - N/A --- crates/project/src/task_inventory.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs index 6aa1f83bb0a44063462bd322578666d6bd0f7e81..c70a72f0e148188eb7f4ad10fdd4410a802263ad 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()