From 744c312cf493b40260a1fa2a6169d6d9a3add5b8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Dec 2026 08:23:36 +0100 Subject: [PATCH] Qualify anyhow::bail in chat_gate test mock Avoid unused bail import in non-test builds so clippy passes cleanly. --- crates/mind-body/src/chat_gate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mind-body/src/chat_gate.rs b/crates/mind-body/src/chat_gate.rs index e3fc701..d14fd95 100644 --- a/crates/mind-body/src/chat_gate.rs +++ b/crates/mind-body/src/chat_gate.rs @@ -945,7 +945,7 @@ mod tests { self.open_replies.borrow_mut().pop_front().expect("queued open_direct reply") } fn fetch(&self, _request: &ChatFetchRequest) -> Result { - bail!("unused in chat_gate tests") + anyhow::bail!("unused in chat_gate tests") } fn ack(&self, through_seq: u64) -> Result<()> { self.acks.borrow_mut().push(through_seq);