remove unnecessary PartialOrd and Ord

This commit is contained in:
Takayuki Maeda
2022-09-08 06:15:33 +09:00
parent b44197abb0
commit bdc865d8f7
7 changed files with 7 additions and 27 deletions

View File

@@ -705,7 +705,7 @@ pub enum TerminatorKind<'tcx> {
}
/// Information about an assertion failure.
#[derive(Clone, TyEncodable, TyDecodable, Hash, HashStable, PartialEq, PartialOrd)]
#[derive(Clone, TyEncodable, TyDecodable, Hash, HashStable, PartialEq)]
pub enum AssertKind<O> {
BoundsCheck { len: O, index: O },
Overflow(BinOp, O, O),