Skip to content

Commit a8fc79b

Browse files
committed
Remove ordering derives from InstanceDef
1 parent 8bc7878 commit a8fc79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/instance.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub struct Instance<'tcx> {
2323
pub substs: SubstsRef<'tcx>,
2424
}
2525

26-
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
26+
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
2727
#[derive(TyEncodable, TyDecodable, HashStable, TypeFoldable)]
2828
pub enum InstanceDef<'tcx> {
2929
/// A user-defined callable item.

0 commit comments

Comments
 (0)