]> git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/usefulness/issue-82772-match-box-as-struct.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / pattern / usefulness / issue-82772-match-box-as-struct.stderr
1 error[E0451]: field `1` of struct `Box` is private
2 --> $DIR/issue-82772-match-box-as-struct.rs:4:15
3 |
4 LL | let Box { 1: _, .. }: Box<()>;
5 | ^^^^ private field
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0451`.