diff --git a/external-crates/move/crates/move-binary-format/src/deserializer.rs b/external-crates/move/crates/move-binary-format/src/deserializer.rs index ab3c8db8b2122..45f78a1430835 100644 --- a/external-crates/move/crates/move-binary-format/src/deserializer.rs +++ b/external-crates/move/crates/move-binary-format/src/deserializer.rs @@ -1937,6 +1937,7 @@ impl DeprecatedNominalResourceFlag { } #[rustfmt::skip] #[allow(non_camel_case_types)] +#[allow(clippy::upper_case_acronyms)] #[repr(u8)] enum DeprecatedKind { ALL = 0x1, diff --git a/external-crates/move/crates/move-binary-format/src/errors.rs b/external-crates/move/crates/move-binary-format/src/errors.rs index c67943312ea36..70a63a22fd477 100644 --- a/external-crates/move/crates/move-binary-format/src/errors.rs +++ b/external-crates/move/crates/move-binary-format/src/errors.rs @@ -91,6 +91,7 @@ impl VMError { self.0.major_status.status_type() } + #[allow(clippy::type_complexity)] pub fn all_data( self, ) -> ( @@ -188,6 +189,7 @@ struct PartialVMError_ { } impl PartialVMError { + #[allow(clippy::type_complexity)] pub fn all_data( self, ) -> ( diff --git a/external-crates/move/crates/move-binary-format/src/proptest_types/functions.rs b/external-crates/move/crates/move-binary-format/src/proptest_types/functions.rs index 42bbfacfc1b75..11bbe5586477f 100644 --- a/external-crates/move/crates/move-binary-format/src/proptest_types/functions.rs +++ b/external-crates/move/crates/move-binary-format/src/proptest_types/functions.rs @@ -349,6 +349,7 @@ impl<'a> FnDefnMaterializeState<'a> { } } + #[allow(clippy::type_complexity)] pub fn return_tables( self, ) -> ( diff --git a/external-crates/move/crates/move-core-types/src/effects.rs b/external-crates/move/crates/move-core-types/src/effects.rs index 79b9e0970ae97..9c44ec007e290 100644 --- a/external-crates/move/crates/move-core-types/src/effects.rs +++ b/external-crates/move/crates/move-core-types/src/effects.rs @@ -111,6 +111,7 @@ impl AccountChangeSet { Self { modules } } + #[allow(clippy::new_without_default)] pub fn new() -> Self { Self { modules: BTreeMap::new(),