fix
This commit is contained in:
1 parent
24e8ac2ad3
commit
e217a957dc
2 files changed
+4
-2
No files matched your search
@@ -559,7 +559,8 @@ impl RouteEnum {
|
|||||||
#(#type_defs)*
|
#(#type_defs)*
|
||||||
|
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum #match_error_name {
|
pub enum #match_error_name {
|
||||||
#(#error_variants),*
|
#(#error_variants),*
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -309,7 +309,8 @@ pub(crate) fn create_error_type(
|
|||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum #error_name {
|
pub enum #error_name {
|
||||||
ExtraSegments(String),
|
ExtraSegments(String),
|
||||||
#(#child_type_variant,)*
|
#(#child_type_variant,)*
|
||||||
|
|||||||
Reference in new issue
Block a user