@@ -1190,7 +1190,7 @@ pub enum UnsafeSource {
11901190 UserProvided ,
11911191}
11921192
1193- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Hash , Debug ) ]
1193+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Hash , Debug ) ]
11941194pub struct BodyId {
11951195 pub hir_id : HirId ,
11961196}
@@ -1969,7 +1969,7 @@ pub struct FnSig<'hir> {
19691969// The bodies for items are stored "out of line", in a separate
19701970// hashmap in the `Crate`. Here we just record the hir-id of the item
19711971// so it can fetched later.
1972- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
1972+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
19731973pub struct TraitItemId {
19741974 pub def_id : LocalDefId ,
19751975}
@@ -2032,7 +2032,7 @@ pub enum TraitItemKind<'hir> {
20322032// The bodies for items are stored "out of line", in a separate
20332033// hashmap in the `Crate`. Here we just record the hir-id of the item
20342034// so it can fetched later.
2035- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2035+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
20362036pub struct ImplItemId {
20372037 pub def_id : LocalDefId ,
20382038}
@@ -2634,7 +2634,7 @@ impl VariantData<'hir> {
26342634// The bodies for items are stored "out of line", in a separate
26352635// hashmap in the `Crate`. Here we just record the hir-id of the item
26362636// so it can fetched later.
2637- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug , Hash ) ]
2637+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug , Hash ) ]
26382638pub struct ItemId {
26392639 pub def_id : LocalDefId ,
26402640}
@@ -2871,7 +2871,7 @@ pub enum AssocItemKind {
28712871// The bodies for items are stored "out of line", in a separate
28722872// hashmap in the `Crate`. Here we just record the hir-id of the item
28732873// so it can fetched later.
2874- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2874+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
28752875pub struct ForeignItemId {
28762876 pub def_id : LocalDefId ,
28772877}
0 commit comments