@@ -28,7 +28,7 @@ pub struct ConstAlloc<'tcx> {
2828
2929/// Represents a constant value in Rust. `Scalar` and `Slice` are optimizations for
3030/// array length computations, enum discriminants and the pattern matching logic.
31- #[ derive( Copy , Clone , Debug , Eq , PartialEq , PartialOrd , Ord , TyEncodable , TyDecodable , Hash ) ]
31+ #[ derive( Copy , Clone , Debug , Eq , PartialEq , TyEncodable , TyDecodable , Hash ) ]
3232#[ derive( HashStable , Lift ) ]
3333pub enum ConstValue < ' tcx > {
3434 /// Used only for types with `layout::abi::Scalar` ABI.
@@ -110,7 +110,7 @@ impl<'tcx> ConstValue<'tcx> {
110110///
111111/// These variants would be private if there was a convenient way to achieve that in Rust.
112112/// Do *not* match on a `Scalar`! Use the various `to_*` methods instead.
113- #[ derive( Clone , Copy , Eq , PartialEq , Ord , PartialOrd , TyEncodable , TyDecodable , Hash ) ]
113+ #[ derive( Clone , Copy , Eq , PartialEq , TyEncodable , TyDecodable , Hash ) ]
114114#[ derive( HashStable ) ]
115115pub enum Scalar < Prov = AllocId > {
116116 /// The raw bytes of a simple value.
0 commit comments