Skip to content

Commit

Permalink
[move] mute clippy for type complexity, default warning, uppercase (#…
Browse files Browse the repository at this point in the history
…20814)

## Description 

Describe the changes or additions included in this PR.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] gRPC:
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
  • Loading branch information
jordanjennings-mysten authored Jan 8, 2025
1 parent 9501424 commit 4a9e509
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions external-crates/move/crates/move-core-types/src/effects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ impl AccountChangeSet {
Self { modules }
}

#[allow(clippy::new_without_default)]
pub fn new() -> Self {
Self {
modules: BTreeMap::new(),
Expand Down

0 comments on commit 4a9e509

Please sign in to comment.