@@ -1077,7 +1077,7 @@ impl Mutability {
1077
1077
}
1078
1078
}
1079
1079
1080
- #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , Hash , HashStable ) ]
1080
+ #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , HashStable ) ]
1081
1081
pub enum BinOpKind {
1082
1082
/// The `+` operator (addition).
1083
1083
Add ,
@@ -1211,7 +1211,7 @@ impl Into<ast::BinOpKind> for BinOpKind {
1211
1211
1212
1212
pub type BinOp = Spanned < BinOpKind > ;
1213
1213
1214
- #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , Hash , HashStable ) ]
1214
+ #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , HashStable ) ]
1215
1215
pub enum UnOp {
1216
1216
/// The `*` operator (deferencing).
1217
1217
UnDeref ,
@@ -1388,8 +1388,7 @@ impl Body {
1388
1388
}
1389
1389
1390
1390
/// The type of source expression that caused this generator to be created.
1391
- #[ derive( Clone , PartialEq , Eq , PartialOrd , Ord , HashStable ,
1392
- RustcEncodable , RustcDecodable , Hash , Debug , Copy ) ]
1391
+ #[ derive( Clone , PartialEq , Eq , HashStable , RustcEncodable , RustcDecodable , Debug , Copy ) ]
1393
1392
pub enum GeneratorKind {
1394
1393
/// An explicit `async` block or the body of an async function.
1395
1394
Async ( AsyncGeneratorKind ) ,
@@ -1412,8 +1411,7 @@ impl fmt::Display for GeneratorKind {
1412
1411
///
1413
1412
/// This helps error messages but is also used to drive coercions in
1414
1413
/// type-checking (see #60424).
1415
- #[ derive( Clone , PartialEq , Eq , PartialOrd , Ord , HashStable ,
1416
- RustcEncodable , RustcDecodable , Hash , Debug , Copy ) ]
1414
+ #[ derive( Clone , PartialEq , Eq , HashStable , RustcEncodable , RustcDecodable , Debug , Copy ) ]
1417
1415
pub enum AsyncGeneratorKind {
1418
1416
/// An explicit `async` block written by the user.
1419
1417
Block ,
0 commit comments