From 8ebd75d02b44151f0662ef41eedf9d9eadba7a4f Mon Sep 17 00:00:00 2001 From: pierwill <pierwill@users.noreply.github.com> Date: Tue, 28 Dec 2021 13:01:33 -0600 Subject: [PATCH] Remove ord from newtype_index! --- compiler/rustc_index/src/vec.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_index/src/vec.rs b/compiler/rustc_index/src/vec.rs index e3c6528b2188..cc42cb24fb6b 100644 --- a/compiler/rustc_index/src/vec.rs +++ b/compiler/rustc_index/src/vec.rs @@ -104,7 +104,8 @@ macro_rules! newtype_index { @vis [$v:vis] @debug_format [$debug_format:tt]) => ( $(#[$attrs])* - #[derive(Copy, PartialEq, Eq, Hash, PartialOrd, Ord, $($derives),*)] + // #[derive(Copy, PartialEq, Eq, Hash, PartialOrd, Ord, $($derives),*)] + #[derive(Copy, PartialEq, Eq, Hash, $($derives),*)] #[rustc_layout_scalar_valid_range_end($max)] $v struct $type { private: u32