@@ -162,7 +162,7 @@ impl MirPhase {
162
162
}
163
163
164
164
/// Where a specific `mir::Body` comes from.
165
- #[ derive( Copy , Clone , Debug , PartialEq , Eq , PartialOrd , Ord ) ]
165
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
166
166
#[ derive( HashStable , TyEncodable , TyDecodable , TypeFoldable ) ]
167
167
pub struct MirSource < ' tcx > {
168
168
pub instance : InstanceDef < ' tcx > ,
@@ -1255,17 +1255,7 @@ pub enum AssertKind<O> {
1255
1255
ResumedAfterPanic ( GeneratorKind ) ,
1256
1256
}
1257
1257
1258
- #[ derive(
1259
- Clone ,
1260
- Debug ,
1261
- PartialEq ,
1262
- PartialOrd ,
1263
- TyEncodable ,
1264
- TyDecodable ,
1265
- Hash ,
1266
- HashStable ,
1267
- TypeFoldable
1268
- ) ]
1258
+ #[ derive( Clone , Debug , PartialEq , TyEncodable , TyDecodable , Hash , HashStable , TypeFoldable ) ]
1269
1259
pub enum InlineAsmOperand < ' tcx > {
1270
1260
In {
1271
1261
reg : InlineAsmRegOrRegClass ,
@@ -1747,7 +1737,7 @@ pub struct CopyNonOverlapping<'tcx> {
1747
1737
1748
1738
/// A path to a value; something that can be evaluated without
1749
1739
/// changing or disturbing program state.
1750
- #[ derive( Copy , Clone , PartialEq , Eq , PartialOrd , Ord , Hash , TyEncodable , HashStable ) ]
1740
+ #[ derive( Copy , Clone , PartialEq , Eq , Hash , TyEncodable , HashStable ) ]
1751
1741
pub struct Place < ' tcx > {
1752
1742
pub local : Local ,
1753
1743
@@ -2072,7 +2062,7 @@ pub struct SourceScopeLocalData {
2072
2062
2073
2063
/// These are values that can appear inside an rvalue. They are intentionally
2074
2064
/// limited to prevent rvalues from being nested in one another.
2075
- #[ derive( Clone , PartialEq , PartialOrd , TyEncodable , TyDecodable , Hash , HashStable ) ]
2065
+ #[ derive( Clone , PartialEq , TyEncodable , TyDecodable , Hash , HashStable ) ]
2076
2066
pub enum Operand < ' tcx > {
2077
2067
/// Copy: The value must be available for use afterwards.
2078
2068
///
@@ -2500,7 +2490,7 @@ impl<'tcx> Debug for Rvalue<'tcx> {
2500
2490
/// this does not necessarily mean that they are `==` in Rust. In
2501
2491
/// particular, one must be wary of `NaN`!
2502
2492
2503
- #[ derive( Clone , Copy , PartialEq , PartialOrd , TyEncodable , TyDecodable , Hash , HashStable ) ]
2493
+ #[ derive( Clone , Copy , PartialEq , TyEncodable , TyDecodable , Hash , HashStable ) ]
2504
2494
pub struct Constant < ' tcx > {
2505
2495
pub span : Span ,
2506
2496
@@ -2514,7 +2504,7 @@ pub struct Constant<'tcx> {
2514
2504
pub literal : ConstantKind < ' tcx > ,
2515
2505
}
2516
2506
2517
- #[ derive( Clone , Copy , PartialEq , Eq , PartialOrd , TyEncodable , TyDecodable , Hash , HashStable , Debug ) ]
2507
+ #[ derive( Clone , Copy , PartialEq , Eq , TyEncodable , TyDecodable , Hash , HashStable , Debug ) ]
2518
2508
#[ derive( Lift ) ]
2519
2509
pub enum ConstantKind < ' tcx > {
2520
2510
/// This constant came from the type system
0 commit comments