From 5cf18ad7c75604050be7c08ce3fee4567a9b75ef Mon Sep 17 00:00:00 2001 From: atlas Date: Mon, 1 Jun 2026 18:05:43 +0200 Subject: [PATCH] fix(#971): remove duplicate BindMount re-export in priv_client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BindMount was imported at line 10 via the priv_proto glob-style import, then re-exported again with `pub use` at line 69. E0252: two definitions of BindMount in the same type namespace. Remove the redundant pub use — callers that need BindMount should import from hive_sh4re::priv_proto. --- hive-c0re/src/priv_client.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/hive-c0re/src/priv_client.rs b/hive-c0re/src/priv_client.rs index 14abf071..b4e65a12 100644 --- a/hive-c0re/src/priv_client.rs +++ b/hive-c0re/src/priv_client.rs @@ -66,8 +66,6 @@ pub async fn write_nspawn_flags(container: &str, binds: &[BindMount]) -> Result< }).await?) } -pub use hive_sh4re::priv_proto::BindMount; - pub async fn write_resource_limits( container: &str, memory_max: &str,