Skip to content

Commit 1cf345e

Browse files
committed
Remove unnecessary Partial/Ord impl
1 parent 47dd709 commit 1cf345e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ impl<'tcx> Const<'tcx> {
456456
}
457457

458458
/// An unevaluated (potentially generic) constant used in MIR.
459-
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, TyEncodable, TyDecodable)]
459+
#[derive(Copy, Clone, Debug, Eq, PartialEq, TyEncodable, TyDecodable)]
460460
#[derive(Hash, HashStable, TypeFoldable, TypeVisitable, Lift)]
461461
pub struct UnevaluatedConst<'tcx> {
462462
pub def: DefId,

0 commit comments

Comments
 (0)