Skip to content

Commit 10a5276

Browse files
committed
Fix warnings
1 parent 8fc1672 commit 10a5276

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/std/src/deps.rs

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ mod tests {
126126

127127
#[test]
128128
fn deps_implements_copy() {
129+
#[allow(non_local_definitions)]
129130
impl CustomQuery for u64 {}
130131

131132
// With C: Copy

packages/std/src/results/cosmos_msg.rs

+3
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ mod tests {
488488

489489
// should work with Into<AnyMsg>
490490
struct IntoAny;
491+
492+
#[allow(non_local_definitions)]
491493
impl From<IntoAny> for AnyMsg {
492494
fn from(_: IntoAny) -> Self {
493495
AnyMsg {
@@ -496,6 +498,7 @@ mod tests {
496498
}
497499
}
498500
}
501+
499502
let msg: CosmosMsg = IntoAny.into();
500503
assert!(matches!(
501504
msg,

0 commit comments

Comments
 (0)