diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-09-08 06:15:33 +0900 |
|---|---|---|
| committer | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-09-08 06:15:33 +0900 |
| commit | bdc865d8f7f50482ae67e942a98bd554e51dda30 (patch) | |
| tree | 729a7c75f7eb4a4b056dac71151da798538d9801 /compiler/rustc_errors/src | |
| parent | b44197abb0b3ffe4908892e1e08ab1cd721ff3b9 (diff) | |
| download | rust-bdc865d8f7f50482ae67e942a98bd554e51dda30.tar.gz rust-bdc865d8f7f50482ae67e942a98bd554e51dda30.zip | |
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 68abdd0bad1..b5f0e22f925 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, |
