diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-09-08 20:48:38 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-08 20:48:38 +0530 |
| commit | 720a82dd52609f0dd90a51da4dd53fb51116241e (patch) | |
| tree | d1838a981b5c41dd342b970736b894b12a980ac6 /compiler/rustc_errors/src | |
| parent | 8d2a492d73761d78cc8a95640428dc0b05e74060 (diff) | |
| parent | bdc865d8f7f50482ae67e942a98bd554e51dda30 (diff) | |
| download | rust-720a82dd52609f0dd90a51da4dd53fb51116241e.tar.gz rust-720a82dd52609f0dd90a51da4dd53fb51116241e.zip | |
Rollup merge of #101545 - TaKO8Ki:remove-unnecessary-partialord-ord, r=oli-obk
Remove unnecessary `PartialOrd` and `Ord`
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 513225e1606..3e02d2ebb7e 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -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, |
