diff --git a/bff/src/error.rs b/bff/src/error.rs index fa6e80f..6cf201d 100644 --- a/bff/src/error.rs +++ b/bff/src/error.rs @@ -1,3 +1,6 @@ +// `derive_more::Constructor` produces these initializers, but their spans point here. +#![allow(clippy::redundant_field_names)] + use std::ffi::OsString; use derive_more::{Constructor, Display, Error, From}; diff --git a/bff/src/helpers/strings.rs b/bff/src/helpers/strings.rs index 4c6f8f2..ff36a14 100644 --- a/bff/src/helpers/strings.rs +++ b/bff/src/helpers/strings.rs @@ -1,3 +1,6 @@ +// `derive_more::Constructor` produces these initializers, but their spans point here. +#![allow(clippy::redundant_field_names)] + use std::fmt::Debug; use std::io::Write; use std::marker::PhantomData;