@@ -359,55 +359,55 @@ impl UniverseMap {
359359}
360360
361361/// The id for an Abstract Data Type (i.e. structs, unions and enums).
362- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
362+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
363363pub struct AdtId < I : Interner > ( pub I :: InternedAdtId ) ;
364364
365365/// The id of a trait definition; could be used to load the trait datum by
366366/// invoking the [`trait_datum`] method.
367367///
368368/// [`trait_datum`]: ../chalk_solve/trait.RustIrDatabase.html#tymethod.trait_datum
369- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
369+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
370370pub struct TraitId < I : Interner > ( pub I :: DefId ) ;
371371
372372/// The id for an impl.
373- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
373+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
374374pub struct ImplId < I : Interner > ( pub I :: DefId ) ;
375375
376376/// Id for a specific clause.
377- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
377+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
378378pub struct ClauseId < I : Interner > ( pub I :: DefId ) ;
379379
380380/// The id for the associated type member of a trait. The details of the type
381381/// can be found by invoking the [`associated_ty_data`] method.
382382///
383383/// [`associated_ty_data`]: ../chalk_solve/trait.RustIrDatabase.html#tymethod.associated_ty_data
384- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
384+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
385385pub struct AssocTypeId < I : Interner > ( pub I :: DefId ) ;
386386
387387/// Id for an opaque type.
388- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
388+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
389389pub struct OpaqueTyId < I : Interner > ( pub I :: DefId ) ;
390390
391391/// Function definition id.
392- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
392+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
393393pub struct FnDefId < I : Interner > ( pub I :: DefId ) ;
394394
395395/// Id for Rust closures.
396- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
396+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
397397pub struct ClosureId < I : Interner > ( pub I :: DefId ) ;
398398
399399/// Id for Rust generators.
400- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
400+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
401401pub struct GeneratorId < I : Interner > ( pub I :: DefId ) ;
402402
403403/// Id for foreign types.
404- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
404+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
405405pub struct ForeignDefId < I : Interner > ( pub I :: DefId ) ;
406406
407407impl_debugs ! ( ImplId , ClauseId ) ;
408408
409409/// A Rust type. The actual type data is stored in `TyKind`.
410- #[ derive( Copy , Clone , PartialEq , Eq , Hash , PartialOrd , Ord , HasInterner ) ]
410+ #[ derive( Copy , Clone , PartialEq , Eq , Hash , HasInterner ) ]
411411pub struct Ty < I : Interner > {
412412 interned : I :: InternedType ,
413413}
0 commit comments