@@ -1203,7 +1203,7 @@ pub enum UnsafeSource {
1203
1203
UserProvided ,
1204
1204
}
1205
1205
1206
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Hash , Debug ) ]
1206
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Hash , Debug ) ]
1207
1207
pub struct BodyId {
1208
1208
pub hir_id : HirId ,
1209
1209
}
@@ -1980,7 +1980,7 @@ pub struct FnSig<'hir> {
1980
1980
// The bodies for items are stored "out of line", in a separate
1981
1981
// hashmap in the `Crate`. Here we just record the hir-id of the item
1982
1982
// so it can fetched later.
1983
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
1983
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
1984
1984
pub struct TraitItemId {
1985
1985
pub def_id : LocalDefId ,
1986
1986
}
@@ -2043,7 +2043,7 @@ pub enum TraitItemKind<'hir> {
2043
2043
// The bodies for items are stored "out of line", in a separate
2044
2044
// hashmap in the `Crate`. Here we just record the hir-id of the item
2045
2045
// so it can fetched later.
2046
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2046
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
2047
2047
pub struct ImplItemId {
2048
2048
pub def_id : LocalDefId ,
2049
2049
}
@@ -2644,7 +2644,7 @@ impl<'hir> VariantData<'hir> {
2644
2644
// The bodies for items are stored "out of line", in a separate
2645
2645
// hashmap in the `Crate`. Here we just record the hir-id of the item
2646
2646
// so it can fetched later.
2647
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug , Hash ) ]
2647
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug , Hash ) ]
2648
2648
pub struct ItemId {
2649
2649
pub def_id : LocalDefId ,
2650
2650
}
@@ -2883,7 +2883,7 @@ pub enum AssocItemKind {
2883
2883
// The bodies for items are stored "out of line", in a separate
2884
2884
// hashmap in the `Crate`. Here we just record the hir-id of the item
2885
2885
// so it can fetched later.
2886
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2886
+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
2887
2887
pub struct ForeignItemId {
2888
2888
pub def_id : LocalDefId ,
2889
2889
}
0 commit comments