diff --git a/crates/horizon-client/src/streaming.rs b/crates/horizon-client/src/streaming.rs index 4cad224fd..17af59746 100644 --- a/crates/horizon-client/src/streaming.rs +++ b/crates/horizon-client/src/streaming.rs @@ -637,6 +637,10 @@ impl Streaming { }); self.shared.ready.notify_one(); } + #[expect( + clippy::boxed_local, + reason = "the box is `Done::Decorated`'s, so moving it out copies nothing" + )] fn receive_decorated(&mut self, x: i32, z: i32, region: Box<[Proto; 9]>) { self.generation_scan.exhausted = false; self.decorating -= 1; diff --git a/crates/horizon-server/src/update.rs b/crates/horizon-server/src/update.rs index 8c87c66bc..0f3f57080 100644 --- a/crates/horizon-server/src/update.rs +++ b/crates/horizon-server/src/update.rs @@ -781,6 +781,8 @@ mod tests { use super::*; use serde_json::json; + // Only the unix tests build an install tree; the path helper goes with them. + #[cfg_attr(not(unix), allow(dead_code))] fn scratch(name: &str) -> PathBuf { let dir = std::env::temp_dir().join(format!( "horizon-server-update-{name}-{}",