mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Rollup merge of #152813 - makai410:debug-impl, r=lqd
Skip the `use_existential_projection_new_instead` field in the `Debug` impl Resolves: rust-lang/rust#152807 . Simply slap a `#derive_where[skip(Debug)]` on that field.
This commit is contained in:
@@ -420,6 +420,7 @@ pub struct ExistentialProjection<I: Interner> {
|
||||
|
||||
/// This field exists to prevent the creation of `ExistentialProjection`
|
||||
/// without using [`ExistentialProjection::new_from_args`].
|
||||
#[derive_where(skip(Debug))]
|
||||
use_existential_projection_new_instead: (),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user