Skip to content

Commit 50b9298

Browse files
committed
Remove Ord from Interner and assoc types
1 parent cb1e147 commit 50b9298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chalk-ir/src/interner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use std::sync::Arc;
5757
/// (e.g., `SourceI` and `TargetI`) -- even if those type parameters
5858
/// wind up being mapped to the same underlying type families in the
5959
/// end.
60-
pub trait Interner: Debug + Copy + Eq + Ord + Hash + Sized {
60+
pub trait Interner: Debug + Copy + Eq + Hash + Sized {
6161
/// "Interned" representation of types. In normal user code,
6262
/// `Self::InternedType` is not referenced. Instead, we refer to
6363
/// `Ty<Self>`, which wraps this type.
@@ -191,7 +191,7 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash + Sized {
191191
type DefId: Debug + Copy + Eq + Hash;
192192

193193
/// The ID type for ADTs
194-
type InternedAdtId: Debug + Copy + Eq + Ord + Hash;
194+
type InternedAdtId: Debug + Copy + Eq + Hash;
195195

196196
/// Representation of identifiers.
197197
type Identifier: Debug + Clone + Eq + Hash;

0 commit comments

Comments
 (0)