diff --git a/diesel/src/query_builder/combination_clause.rs b/diesel/src/query_builder/combination_clause.rs index af006dfcbfc0..cb4b6240403c 100644 --- a/diesel/src/query_builder/combination_clause.rs +++ b/diesel/src/query_builder/combination_clause.rs @@ -234,7 +234,7 @@ pub trait SupportsCombinationClause {} /// Wrapper used to wrap rhs sql in parenthesis when supported by backend pub struct ParenthesisWrapper(T); -#[cfg(feature = "postgres")] +#[cfg(feature = "postgres_backend")] mod postgres { use super::*; use crate::pg::Pg;