1 error[E0532]: cannot match against a tuple struct which contains private fields
2 --> $DIR/issue-75907.rs:15:9
4 LL | let Bar(x, y, Foo(z)) = make_bar();
7 note: constructor is not visible here due to private fields
8 --> $DIR/issue-75907.rs:15:16
10 LL | let Bar(x, y, Foo(z)) = make_bar();
11 | ^ ^^^^^^ private field
15 error[E0532]: cannot match against a tuple struct which contains private fields
16 --> $DIR/issue-75907.rs:15:19
18 LL | let Bar(x, y, Foo(z)) = make_bar();
21 note: constructor is not visible here due to private fields
22 --> $DIR/issue-75907.rs:15:23
24 LL | let Bar(x, y, Foo(z)) = make_bar();
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0532`.