Skip to content

Commit 8bc7878

Browse files
committed
Rm Ord bound from HashStable impl for SimplifiedTypeGen
1 parent 3360653 commit 8bc7878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/fast_reject.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl<D: Copy + Debug + Ord + Eq> SimplifiedTypeGen<D> {
189189

190190
impl<'a, D> HashStable<StableHashingContext<'a>> for SimplifiedTypeGen<D>
191191
where
192-
D: Copy + Debug + Ord + Eq + HashStable<StableHashingContext<'a>>,
192+
D: Copy + Debug + Eq + HashStable<StableHashingContext<'a>>,
193193
{
194194
fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {
195195
mem::discriminant(self).hash_stable(hcx, hasher);

0 commit comments

Comments
 (0)