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 ab3c8db8b21229..45f78a14308351 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 c67943312ea362..70a63a22fd477c 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 42bbfacfc1b751..11bbe5586477fb 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 79b9e0970ae97f..77ee06988cd81c 100644 --- a/external-crates/move/crates/move-core-types/src/effects.rs +++ b/external-crates/move/crates/move-core-types/src/effects.rs @@ -52,7 +52,7 @@ impl Op { } /// A collection of resource and module operations on a Move account. -#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd)] +#[derive(Debug, Default, Clone, Eq, PartialEq, Ord, PartialOrd)] pub struct AccountChangeSet { modules: BTreeMap>>, }