remove unnecessary PartialOrd and Ord

This commit is contained in:
Takayuki Maeda 2022-09-08 06:15:33 +09:00
parent b44197abb0
commit bdc865d8f7
7 changed files with 7 additions and 27 deletions

View file

@ -456,7 +456,7 @@ struct HandlerInner {
}
/// A key denoting where from a diagnostic was stashed.
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
pub enum StashKey {
ItemNoType,
UnderscoreForArrayLengths,