Skip to content

Commit 57231fd

Browse files
committed
Fix warnings
1 parent 7044157 commit 57231fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_data_structures/src/stable_hasher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ impl<K: HashStableEq + Eq + Hash, V: HashStableEq, R: BuildHasher> HashStableEq
449449
}
450450

451451
impl<T> HashStableEq for std::marker::PhantomData<T> {
452-
fn hash_stable_eq(&self, other: &Self) -> bool {
452+
fn hash_stable_eq(&self, _other: &Self) -> bool {
453453
true
454454
}
455455
}

compiler/rustc_index/src/bit_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::mem;
77
use std::ops::{BitAnd, BitAndAssign, BitOrAssign, Bound, Not, Range, RangeBounds, Shl};
88
use std::slice;
99

10-
use rustc_macros::{Decodable, Encodable, HashStableEq};
10+
use rustc_macros::{Decodable, Encodable};
1111

1212
#[cfg(test)]
1313
mod tests;

0 commit comments

Comments
 (0)