Skip to content

Commit

Permalink
Derive ord/partialord for ReturnConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
pierwill committed Nov 2, 2021
1 parent 644dcd0 commit ec86a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ pub enum ConstraintCategory {
Internal,
}

#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
#[derive(TyEncodable, TyDecodable, HashStable)]
pub enum ReturnConstraint {
Normal,
Expand Down

0 comments on commit ec86a8f

Please sign in to comment.