diff --git a/compiler/rustc_type_ir/src/predicate.rs b/compiler/rustc_type_ir/src/predicate.rs index ab4677fa0a5fb..113192cc02eb8 100644 --- a/compiler/rustc_type_ir/src/predicate.rs +++ b/compiler/rustc_type_ir/src/predicate.rs @@ -420,6 +420,7 @@ pub struct ExistentialProjection { /// This field exists to prevent the creation of `ExistentialProjection` /// without using [`ExistentialProjection::new_from_args`]. + #[derive_where(skip(Debug))] use_existential_projection_new_instead: (), }