Skip to content

Commit ec86a8f

Browse files
committed
Derive ord/partialord for ReturnConstraint
1 parent 644dcd0 commit ec86a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/query.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ pub enum ConstraintCategory {
358358
Internal,
359359
}
360360

361-
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
361+
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
362362
#[derive(TyEncodable, TyDecodable, HashStable)]
363363
pub enum ReturnConstraint {
364364
Normal,

0 commit comments

Comments
 (0)