summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/issue-82772-match-box-as-struct.stderr
blob: 2c8c85bb1e00548ca10ee5f51fdc3f66a0191294 (plain)
1
2
3
4
5
6
7
8
9
error[E0451]: field `1` of struct `Box` is private
  --> $DIR/issue-82772-match-box-as-struct.rs:4:15
   |
LL |     let Box { 1: _, .. }: Box<()>;
   |               ^^^^ private field

error: aborting due to previous error

For more information about this error, try `rustc --explain E0451`.