diff --git a/xsd-parser/tests/enumeration/expected.rs b/xsd-parser/tests/enumeration/expected.rs index b3fcdf37..e9995eb9 100644 --- a/xsd-parser/tests/enumeration/expected.rs +++ b/xsd-parser/tests/enumeration/expected.rs @@ -1,4 +1,4 @@ -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)] #[yaserde(prefix = "tns", namespace = "tns: http://example.com")] pub enum FooType { @@ -15,7 +15,7 @@ impl Default for FooType { } impl Validate for FooType {} -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)] #[yaserde(prefix = "tns", namespace = "tns: http://example.com")] pub enum FooType1 { diff --git a/xsd-parser/tests/union/expected.rs b/xsd-parser/tests/union/expected.rs index 27488c73..1af13131 100644 --- a/xsd-parser/tests/union/expected.rs +++ b/xsd-parser/tests/union/expected.rs @@ -1,4 +1,4 @@ -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[derive(PartialEq, Debug, UtilsUnionSerDe)] pub enum FooType { int(i32),