about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-04-14 02:08:35 +0000
committerMichael Goulet <michael@errs.io>2025-04-14 15:37:31 +0000
commit83ea3454dfaf7ff54171035a70a89d03085d2a9d (patch)
tree764b8f10accc9423adb6898d9af8084d6d8e9467
parentc580c498a1fe144d7c5b2dfc7faab1a229aa288b (diff)
downloadrust-83ea3454dfaf7ff54171035a70a89d03085d2a9d.tar.gz
rust-83ea3454dfaf7ff54171035a70a89d03085d2a9d.zip
Remove define_debug_via_print for ExistentialProjection
-rw-r--r--compiler/rustc_type_ir/src/ir_print.rs2
-rw-r--r--compiler/rustc_type_ir/src/predicate.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_type_ir/src/ir_print.rs b/compiler/rustc_type_ir/src/ir_print.rs
index c259a9747f0..388ad09cb20 100644
--- a/compiler/rustc_type_ir/src/ir_print.rs
+++ b/compiler/rustc_type_ir/src/ir_print.rs
@@ -60,7 +60,7 @@ define_display_via_print!(
     PatternKind,
 );
 
-define_debug_via_print!(TraitRef, ExistentialTraitRef, ExistentialProjection, PatternKind);
+define_debug_via_print!(TraitRef, ExistentialTraitRef, PatternKind);
 
 impl<I: Interner, T> fmt::Display for OutlivesPredicate<I, T>
 where
diff --git a/compiler/rustc_type_ir/src/predicate.rs b/compiler/rustc_type_ir/src/predicate.rs
index 22d0fa23d0c..8e10636ff65 100644
--- a/compiler/rustc_type_ir/src/predicate.rs
+++ b/compiler/rustc_type_ir/src/predicate.rs
@@ -374,7 +374,7 @@ impl<I: Interner> ty::Binder<I, ExistentialTraitRef<I>> {
 }
 
 /// A `ProjectionPredicate` for an `ExistentialTraitRef`.
-#[derive_where(Clone, Copy, Hash, PartialEq, Eq; I: Interner)]
+#[derive_where(Clone, Copy, Hash, PartialEq, Eq, Debug; I: Interner)]
 #[derive(TypeVisitable_Generic, TypeFoldable_Generic, Lift_Generic)]
 #[cfg_attr(
     feature = "nightly",