From cb79e181f5cb76f1b3d3aa7f262ffd9bd2b650d8 Mon Sep 17 00:00:00 2001 From: MrSubidubi Date: Mon, 25 May 2026 16:12:17 +0200 Subject: [PATCH] Fix compilation errors Co-authored-by: Kirill Bulatov --- crates/agent_ui/src/agent_panel.rs | 2 +- crates/git_ui/src/git_panel.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index f868ff9360e..009cbae8f3f 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -1738,7 +1738,7 @@ impl AgentPanel { Err(error) => { log::error!("failed to spawn agent panel terminal: {error:#}"); workspace - .update(cx, |workspace, cx| workspace.show_error(&error, cx)) + .update(cx, |workspace, cx| workspace.show_error(error, cx)) .log_err(); this.update(cx, |this, cx| { if this.pending_terminal_spawn == Some(terminal_id) { diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index 264c32d756d..98efe669ffd 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -82,6 +82,7 @@ use ui::{ use util::paths::PathStyle; use util::{ResultExt, TryFutureExt, markdown::MarkdownInlineCode, maybe, rel_path::RelPath}; use workspace::SERIALIZATION_THROTTLE_TIME; +use workspace::notifications::NotificationId; use workspace::{ Workspace, dock::{DockPosition, Panel, PanelEvent},