@@ -1077,7 +1077,7 @@ impl Mutability {
10771077 }
10781078}
10791079
1080- #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , Hash , HashStable ) ]
1080+ #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , HashStable ) ]
10811081pub enum BinOpKind {
10821082 /// The `+` operator (addition).
10831083 Add ,
@@ -1211,7 +1211,7 @@ impl Into<ast::BinOpKind> for BinOpKind {
12111211
12121212pub type BinOp = Spanned < BinOpKind > ;
12131213
1214- #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , Hash , HashStable ) ]
1214+ #[ derive( Copy , Clone , PartialEq , RustcEncodable , RustcDecodable , Debug , HashStable ) ]
12151215pub enum UnOp {
12161216 /// The `*` operator (deferencing).
12171217 UnDeref ,
@@ -1388,8 +1388,7 @@ impl Body {
13881388}
13891389
13901390/// 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 ) ]
13931392pub enum GeneratorKind {
13941393 /// An explicit `async` block or the body of an async function.
13951394 Async ( AsyncGeneratorKind ) ,
@@ -1412,8 +1411,7 @@ impl fmt::Display for GeneratorKind {
14121411///
14131412/// This helps error messages but is also used to drive coercions in
14141413/// 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 ) ]
14171415pub enum AsyncGeneratorKind {
14181416 /// An explicit `async` block written by the user.
14191417 Block ,
0 commit comments