about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-21 13:15:46 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-27 14:02:16 +0000
commitdd9fe01d0612d7dd06c53c9ad60d1fd224cb0c49 (patch)
treef045d6548123629a41d97c1de8e29341939cbc35
parentdc95bd69f24474032123e371a4059f5502de3309 (diff)
downloadrust-dd9fe01d0612d7dd06c53c9ad60d1fd224cb0c49.tar.gz
rust-dd9fe01d0612d7dd06c53c9ad60d1fd224cb0c49.zip
Remove `Ord` from `Binder`
-rw-r--r--compiler/rustc_middle/src/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs
index a000c84696b..da74a3e1216 100644
--- a/compiler/rustc_middle/src/ty/sty.rs
+++ b/compiler/rustc_middle/src/ty/sty.rs
@@ -908,7 +908,7 @@ impl BoundVariableKind {
 /// e.g., `liberate_late_bound_regions`).
 ///
 /// `Decodable` and `Encodable` are implemented for `Binder<T>` using the `impl_binder_encode_decode!` macro.
-#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
+#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
 #[derive(HashStable, Lift)]
 pub struct Binder<'tcx, T> {
     value: T,