@@ -1190,7 +1190,7 @@ pub enum UnsafeSource {
1190
1190
UserProvided ,
1191
1191
}
1192
1192
1193
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Hash , Debug ) ]
1193
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Hash , Debug ) ]
1194
1194
pub struct BodyId {
1195
1195
pub hir_id : HirId ,
1196
1196
}
@@ -1969,7 +1969,7 @@ pub struct FnSig<'hir> {
1969
1969
// The bodies for items are stored "out of line", in a separate
1970
1970
// hashmap in the `Crate`. Here we just record the hir-id of the item
1971
1971
// so it can fetched later.
1972
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
1972
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
1973
1973
pub struct TraitItemId {
1974
1974
pub def_id : LocalDefId ,
1975
1975
}
@@ -2032,7 +2032,7 @@ pub enum TraitItemKind<'hir> {
2032
2032
// The bodies for items are stored "out of line", in a separate
2033
2033
// hashmap in the `Crate`. Here we just record the hir-id of the item
2034
2034
// so it can fetched later.
2035
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2035
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
2036
2036
pub struct ImplItemId {
2037
2037
pub def_id : LocalDefId ,
2038
2038
}
@@ -2634,7 +2634,7 @@ impl VariantData<'hir> {
2634
2634
// The bodies for items are stored "out of line", in a separate
2635
2635
// hashmap in the `Crate`. Here we just record the hir-id of the item
2636
2636
// 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 ) ]
2638
2638
pub struct ItemId {
2639
2639
pub def_id : LocalDefId ,
2640
2640
}
@@ -2871,7 +2871,7 @@ pub enum AssocItemKind {
2871
2871
// The bodies for items are stored "out of line", in a separate
2872
2872
// hashmap in the `Crate`. Here we just record the hir-id of the item
2873
2873
// so it can fetched later.
2874
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2874
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
2875
2875
pub struct ForeignItemId {
2876
2876
pub def_id : LocalDefId ,
2877
2877
}
0 commit comments