Rm some unused ord impls

This commit is contained in:
pierwill 2022-01-17 15:14:55 -06:00
parent ee5d8d37ba
commit ae9b624bf6
2 changed files with 3 additions and 3 deletions

View File

@ -1987,7 +1987,7 @@ bitflags::bitflags! {
} }
} }
#[derive(Clone, PartialEq, PartialOrd, Encodable, Decodable, Debug, Hash, HashStable_Generic)] #[derive(Clone, PartialEq, Encodable, Decodable, Debug, Hash, HashStable_Generic)]
pub enum InlineAsmTemplatePiece { pub enum InlineAsmTemplatePiece {
String(String), String(String),
Placeholder { operand_idx: usize, modifier: Option<char>, span: Span }, Placeholder { operand_idx: usize, modifier: Option<char>, span: Span },
@ -2192,7 +2192,7 @@ pub enum IsAuto {
No, No,
} }
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Encodable, Decodable, Debug)] #[derive(Copy, Clone, PartialEq, Eq, Hash, Encodable, Decodable, Debug)]
#[derive(HashStable_Generic)] #[derive(HashStable_Generic)]
pub enum Unsafe { pub enum Unsafe {
Yes(Span), Yes(Span),

View File

@ -105,7 +105,7 @@ impl<'a> Iterator for SwitchTargetsIter<'a> {
impl<'a> ExactSizeIterator for SwitchTargetsIter<'a> {} impl<'a> ExactSizeIterator for SwitchTargetsIter<'a> {}
#[derive(Clone, TyEncodable, TyDecodable, Hash, HashStable, PartialEq, PartialOrd)] #[derive(Clone, TyEncodable, TyDecodable, Hash, HashStable, PartialEq)]
pub enum TerminatorKind<'tcx> { pub enum TerminatorKind<'tcx> {
/// Block should have one successor in the graph; we jump there. /// Block should have one successor in the graph; we jump there.
Goto { target: BasicBlock }, Goto { target: BasicBlock },