Skip to content

Commit

Permalink
mute clippy for type complexity, fix default warning, mute uppercase …
Browse files Browse the repository at this point in the history
…warning
  • Loading branch information
jordanjennings-mysten committed Jan 8, 2025
1 parent 0910ada commit d3df3a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1937,6 +1937,7 @@ impl DeprecatedNominalResourceFlag {
}
#[rustfmt::skip]
#[allow(non_camel_case_types)]
#[allow(clippy::upper_case_acronyms)]
#[repr(u8)]
enum DeprecatedKind {
ALL = 0x1,
Expand Down
2 changes: 2 additions & 0 deletions external-crates/move/crates/move-binary-format/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl VMError {
self.0.major_status.status_type()
}

#[allow(clippy::type_complexity)]
pub fn all_data(
self,
) -> (
Expand Down Expand Up @@ -188,6 +189,7 @@ struct PartialVMError_ {
}

impl PartialVMError {
#[allow(clippy::type_complexity)]
pub fn all_data(
self,
) -> (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ impl<'a> FnDefnMaterializeState<'a> {
}
}

#[allow(clippy::type_complexity)]
pub fn return_tables(
self,
) -> (
Expand Down
2 changes: 1 addition & 1 deletion external-crates/move/crates/move-core-types/src/effects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl<T> Op<T> {
}

/// 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<Identifier, Op<Vec<u8>>>,
}
Expand Down

0 comments on commit d3df3a9

Please sign in to comment.