diff --git a/diesel/src/sql_types/ord.rs b/diesel/src/sql_types/ord.rs index 81b83bbde85e..7cf27a4cfeea 100644 --- a/diesel/src/sql_types/ord.rs +++ b/diesel/src/sql_types/ord.rs @@ -15,9 +15,9 @@ impl SqlOrd for sql_types::Time {} impl SqlOrd for sql_types::Timestamp {} impl SqlOrd for sql_types::Nullable where T: SqlOrd + SqlType {} -#[cfg(feature = "postgres")] +#[cfg(feature = "postgres_backend")] impl SqlOrd for sql_types::Timestamptz {} -#[cfg(feature = "postgres")] +#[cfg(feature = "postgres_backend")] impl SqlOrd for sql_types::Array {} #[cfg(feature = "mysql_backend")]