diff --git a/src/errors.rs b/src/errors.rs index 793058471..95fec4631 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -5,7 +5,8 @@ use gdal_sys::{CPLErr, OGRErr, OGRFieldType, OGRwkbGeometryType}; pub type Result = std::result::Result; -#[derive(Clone, PartialEq, Eq, Debug, Error)] +#[allow(unknown_lints, clippy::derive_partial_eq_without_eq)] // only enforce `PartialEq` for `GdalError` +#[derive(Clone, PartialEq, Debug, Error)] pub enum GdalError { #[error("FfiNulError")] FfiNulError(#[from] std::ffi::NulError),