diff --git a/Cargo.toml b/Cargo.toml index bc8aceef..c93a5705 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,7 @@ default_union_representation = "warn" deref_by_slicing = "warn" empty_drop = "warn" empty_structs_with_brackets = "warn" +error_impl_error = "warn" filetype_is_file = "warn" float_cmp_const = "warn" get_unwrap = "warn" diff --git a/src/utils/error.rs b/src/utils/error.rs index d05a9a28..d08a8dde 100644 --- a/src/utils/error.rs +++ b/src/utils/error.rs @@ -16,6 +16,7 @@ use crate::RumaResponse; pub(crate) type Result = std::result::Result; #[derive(Error, Debug)] +#[allow(clippy::error_impl_error)] pub(crate) enum Error { #[cfg(feature = "sqlite")] #[error("There was a problem with the connection to the sqlite database: {source}")]