Skip to content

Commit c289b94

Browse files
Remove define_debug_via_print for ExistentialProjection
1 parent 092a284 commit c289b94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_type_ir/src/ir_print.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ define_display_via_print!(
5959
FnSig,
6060
);
6161

62-
define_debug_via_print!(TraitRef, ExistentialTraitRef, ExistentialProjection);
62+
define_debug_via_print!(TraitRef, ExistentialTraitRef);
6363

6464
impl<I: Interner, T> fmt::Display for OutlivesPredicate<I, T>
6565
where

compiler/rustc_type_ir/src/predicate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ impl<I: Interner> ty::Binder<I, ExistentialTraitRef<I>> {
374374
}
375375

376376
/// A `ProjectionPredicate` for an `ExistentialTraitRef`.
377-
#[derive_where(Clone, Copy, Hash, PartialEq, Eq; I: Interner)]
377+
#[derive_where(Clone, Copy, Hash, PartialEq, Eq, Debug; I: Interner)]
378378
#[derive(TypeVisitable_Generic, TypeFoldable_Generic, Lift_Generic)]
379379
#[cfg_attr(
380380
feature = "nightly",

0 commit comments

Comments
 (0)