处理#[allow(dead_code)]代码

This commit is contained in:
xintaofei
2026-03-07 18:04:36 +08:00
parent b1ea16fae0
commit dacec69481
10 changed files with 10 additions and 29 deletions

View File

@@ -10,14 +10,8 @@ pub enum AcpError {
Protocol(String),
#[error("agent process exited unexpectedly")]
ProcessExited,
#[allow(dead_code)]
#[error("conversation error: {0}")]
Conversation(String),
#[error("binary download failed: {0}")]
DownloadFailed(String),
#[allow(dead_code)]
#[error("agent not found: {0}")]
AgentNotFound(String),
#[error("platform not supported: {0}")]
PlatformNotSupported(String),
}