]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-75907.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-75907.stderr
CommitLineData
72b1a166
FG
1error[E0532]: cannot match against a tuple struct which contains private fields
2 --> $DIR/issue-75907.rs:15:9
3 |
4LL | let Bar(x, y, Foo(z)) = make_bar();
5 | ^^^
6 |
7note: constructor is not visible here due to private fields
8 --> $DIR/issue-75907.rs:15:16
9 |
10LL | let Bar(x, y, Foo(z)) = make_bar();
11 | ^ ^^^^^^ private field
12 | |
13 | private field
14
15error[E0532]: cannot match against a tuple struct which contains private fields
16 --> $DIR/issue-75907.rs:15:19
17 |
18LL | let Bar(x, y, Foo(z)) = make_bar();
19 | ^^^
20 |
21note: constructor is not visible here due to private fields
22 --> $DIR/issue-75907.rs:15:23
23 |
24LL | let Bar(x, y, Foo(z)) = make_bar();
25 | ^ private field
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0532`.