Rollup merge of #101545 - TaKO8Ki:remove-unnecessary-partialord-ord, r=oli-obk

Remove unnecessary `PartialOrd` and `Ord`
This commit is contained in:
Dylan DPC
2022-09-08 20:48:38 +05:30
committed by GitHub
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,