Skip to content

Commit 47e2fec

Browse files
Rollup merge of #152813 - makai410:debug-impl, r=lqd
Skip the `use_existential_projection_new_instead` field in the `Debug` impl Resolves: #152807 . Simply slap a `#derive_where[skip(Debug)]` on that field.
2 parents b0cdafb + 279b8cd commit 47e2fec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compiler/rustc_type_ir/src/predicate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ pub struct ExistentialProjection<I: Interner> {
420420

421421
/// This field exists to prevent the creation of `ExistentialProjection`
422422
/// without using [`ExistentialProjection::new_from_args`].
423+
#[derive_where(skip(Debug))]
423424
use_existential_projection_new_instead: (),
424425
}
425426

0 commit comments

Comments
 (0)