Skip to content

Commit 03ce25a

Browse files
committed
Chore: Remove the clippy exceptions due to MockAll (DFN-860)
1 parent 8f50e4b commit 03ce25a

File tree

5 files changed

+0
-16
lines changed

5 files changed

+0
-16
lines changed

rs/messaging/src/routing/stream_handler/tests.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Including this clippy allow to circumvent clippy errors spawned by MockAll
2-
// internal expansion. Should be removed when DFN-860 is resolved.
3-
// Specifically relevant to the Vec<> parameter.
4-
#![allow(clippy::ptr_arg)]
5-
61
use super::*;
72
use crate::message_routing::{LABEL_REMOTE, METRIC_TIME_IN_BACKLOG, METRIC_TIME_IN_STREAM};
83
use ic_base_types::NumSeconds;

rs/messaging/src/scheduling/valid_set_rule.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Including this clippy allow to circumvent clippy errors spawned by MockAll
2-
// internal expansion. Should be removed when DFN-860 is resolved.
3-
// Specifically relevant to the Vec<> parameter.
4-
#![allow(clippy::ptr_arg)]
5-
61
use ic_base_types::NumBytes;
72
use ic_constants::{INGRESS_HISTORY_MAX_MESSAGES, SMALL_APP_SUBNET_MAX_SIZE};
83
use ic_cycles_account_manager::{CyclesAccountManager, IngressInductionCost};

rs/rust_canisters/tests/src/nan_canonicalized.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(clippy::ptr_arg)]
21
// Canonical 32-bit and 64-bit NaN values from cranelift-codegen can be found at
32
// https://github.com/bytecodealliance/cranelift/blob/60ab06981ff9ab234d1a5fa4ffe30baeb9879319/cranelift-codegen/src/nan_canonicalization.rs#L14
43
static CANON_32BIT_NAN: u32 = 0b0111_1111_1100_0000_0000_0000_0000_0000;

rs/test_utilities/consensus/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(clippy::ptr_arg)]
21
pub mod batch;
32
pub mod fake;
43

rs/test_utilities/src/message_routing.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Including this clippy allow to circumvent clippy errors spawned by MockAll
2-
// internal expansion. Should be removed when DFN-860 is resolved.
3-
// Specifically relevant to the Vec<> parameter.
4-
#![allow(clippy::ptr_arg)]
51
use ic_interfaces::messaging::{MessageRouting, MessageRoutingError};
62
use ic_interfaces_state_manager::{CertificationScope, StateManager};
73
use ic_replicated_state::ReplicatedState;

0 commit comments

Comments
 (0)