enable error_impl_error lint

Except the 1 violation would have to be renamed in, like, every single
file in this project. So we're just enabling it so that we don't make
the same mistake in the future.
This commit is contained in:
Charles Hall 2024-05-12 16:27:31 -07:00
parent a127253daa
commit 5fd156a6bb
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ use crate::RumaResponse;
pub(crate) type Result<T, E = Error> = std::result::Result<T, E>;
#[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}")]