@@ -1203,7 +1203,7 @@ pub enum UnsafeSource {
12031203 UserProvided ,
12041204}
12051205
1206- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Hash , Debug ) ]
1206+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Hash , Debug ) ]
12071207pub struct BodyId {
12081208 pub hir_id : HirId ,
12091209}
@@ -1980,7 +1980,7 @@ pub struct FnSig<'hir> {
19801980// The bodies for items are stored "out of line", in a separate
19811981// hashmap in the `Crate`. Here we just record the hir-id of the item
19821982// so it can fetched later.
1983- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
1983+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
19841984pub struct TraitItemId {
19851985 pub def_id : LocalDefId ,
19861986}
@@ -2043,7 +2043,7 @@ pub enum TraitItemKind<'hir> {
20432043// The bodies for items are stored "out of line", in a separate
20442044// hashmap in the `Crate`. Here we just record the hir-id of the item
20452045// so it can fetched later.
2046- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2046+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
20472047pub struct ImplItemId {
20482048 pub def_id : LocalDefId ,
20492049}
@@ -2644,7 +2644,7 @@ impl<'hir> VariantData<'hir> {
26442644// The bodies for items are stored "out of line", in a separate
26452645// hashmap in the `Crate`. Here we just record the hir-id of the item
26462646// 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 ) ]
26482648pub struct ItemId {
26492649 pub def_id : LocalDefId ,
26502650}
@@ -2883,7 +2883,7 @@ pub enum AssocItemKind {
28832883// The bodies for items are stored "out of line", in a separate
28842884// hashmap in the `Crate`. Here we just record the hir-id of the item
28852885// so it can fetched later.
2886- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Encodable , Debug ) ]
2886+ #[ derive( Copy , Clone , PartialEq , Eq , Encodable , Debug ) ]
28872887pub struct ForeignItemId {
28882888 pub def_id : LocalDefId ,
28892889}
0 commit comments