1 error[E0451]: field `0` of struct `Box` is private
2 --> $DIR/issue-82772.rs:5:15
4 LL | let Box { 0: _, .. }: Box<()>;
7 error[E0451]: field `1` of struct `Box` is private
8 --> $DIR/issue-82772.rs:6:15
10 LL | let Box { 1: _, .. }: Box<()>;
13 error[E0451]: field `1` of struct `ModPrivateStruct` is private
14 --> $DIR/issue-82772.rs:7:28
16 LL | let ModPrivateStruct { 1: _, .. } = ModPrivateStruct::default();
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0451`.