diff --git a/packages/router-macro/src/lib.rs b/packages/router-macro/src/lib.rs index 1f8e2371d..00a7499a4 100644 --- a/packages/router-macro/src/lib.rs +++ b/packages/router-macro/src/lib.rs @@ -559,6 +559,7 @@ impl RouteEnum { #(#type_defs)* #[allow(non_camel_case_types)] + #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Debug, PartialEq)] pub enum #match_error_name { #(#error_variants),* diff --git a/packages/router-macro/src/segment.rs b/packages/router-macro/src/segment.rs index 21ebe5b60..f96bab431 100644 --- a/packages/router-macro/src/segment.rs +++ b/packages/router-macro/src/segment.rs @@ -309,6 +309,7 @@ pub(crate) fn create_error_type( quote! { #[allow(non_camel_case_types)] + #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Debug, PartialEq)] pub enum #error_name { ExtraSegments(String),