From 27d1a4e4521365b5ff2f62ed0eb8c2ecbeb57f63 Mon Sep 17 00:00:00 2001 From: widberg Date: Sat, 22 Aug 2026 19:13:53 -0400 Subject: [PATCH] ignore broken clippy lint about derive_more::Constructor --- bff/src/error.rs | 3 +++ bff/src/helpers/strings.rs | 3 +++ 2 files changed, 6 insertions(+) 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;