From 031cba5cfba1392c44bcf9d83c29961f9b6e489c Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sun, 12 Jul 2026 04:39:06 +0200 Subject: [PATCH] fix: unreachable DbPool match arm for workspace feature unification --- crates/mcp/src/main.rs | 1 - crates/presentation/src/factory.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/mcp/src/main.rs b/crates/mcp/src/main.rs index 6a1cc70..54151cb 100644 --- a/crates/mcp/src/main.rs +++ b/crates/mcp/src/main.rs @@ -129,7 +129,6 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result { library_query: w.library_query, }) } - #[cfg(not(any(feature = "sqlite", feature = "postgres")))] _ => anyhow::bail!("database backend not compiled into this binary"), } } diff --git a/crates/presentation/src/factory.rs b/crates/presentation/src/factory.rs index a6503d2..159478e 100644 --- a/crates/presentation/src/factory.rs +++ b/crates/presentation/src/factory.rs @@ -210,7 +210,6 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result { provider_config_query: w.provider_config_query, }) } - #[cfg(not(any(feature = "sqlite", feature = "postgres")))] _ => anyhow::bail!("database backend not compiled into this binary"), } }