@@ -359,55 +359,55 @@ impl UniverseMap {
359
359
}
360
360
361
361
/// 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 ) ]
363
363
pub struct AdtId < I : Interner > ( pub I :: InternedAdtId ) ;
364
364
365
365
/// The id of a trait definition; could be used to load the trait datum by
366
366
/// invoking the [`trait_datum`] method.
367
367
///
368
368
/// [`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 ) ]
370
370
pub struct TraitId < I : Interner > ( pub I :: DefId ) ;
371
371
372
372
/// The id for an impl.
373
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
373
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
374
374
pub struct ImplId < I : Interner > ( pub I :: DefId ) ;
375
375
376
376
/// Id for a specific clause.
377
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
377
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
378
378
pub struct ClauseId < I : Interner > ( pub I :: DefId ) ;
379
379
380
380
/// The id for the associated type member of a trait. The details of the type
381
381
/// can be found by invoking the [`associated_ty_data`] method.
382
382
///
383
383
/// [`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 ) ]
385
385
pub struct AssocTypeId < I : Interner > ( pub I :: DefId ) ;
386
386
387
387
/// Id for an opaque type.
388
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
388
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
389
389
pub struct OpaqueTyId < I : Interner > ( pub I :: DefId ) ;
390
390
391
391
/// Function definition id.
392
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
392
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
393
393
pub struct FnDefId < I : Interner > ( pub I :: DefId ) ;
394
394
395
395
/// Id for Rust closures.
396
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
396
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
397
397
pub struct ClosureId < I : Interner > ( pub I :: DefId ) ;
398
398
399
399
/// Id for Rust generators.
400
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
400
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
401
401
pub struct GeneratorId < I : Interner > ( pub I :: DefId ) ;
402
402
403
403
/// Id for foreign types.
404
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
404
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
405
405
pub struct ForeignDefId < I : Interner > ( pub I :: DefId ) ;
406
406
407
407
impl_debugs ! ( ImplId , ClauseId ) ;
408
408
409
409
/// 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 ) ]
411
411
pub struct Ty < I : Interner > {
412
412
interned : I :: InternedType ,
413
413
}
0 commit comments