]> git.proxmox.com Git - rustc.git/blob - src/test/ui/structs/struct-field-privacy.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / structs / struct-field-privacy.stderr
1 error[E0616]: field `a` of struct `inner::A` is private
2 --> $DIR/struct-field-privacy.rs:23:7
3 |
4 LL | b.a;
5 | ^ private field
6
7 error[E0616]: field `b` of struct `inner::B` is private
8 --> $DIR/struct-field-privacy.rs:26:7
9 |
10 LL | c.b;
11 | ^ private field
12
13 error[E0616]: field `a` of struct `xc::A` is private
14 --> $DIR/struct-field-privacy.rs:28:7
15 |
16 LL | d.a;
17 | ^ private field
18
19 error[E0616]: field `b` of struct `xc::B` is private
20 --> $DIR/struct-field-privacy.rs:32:7
21 |
22 LL | e.b;
23 | ^ private field
24
25 error[E0616]: field `1` of struct `Z` is private
26 --> $DIR/struct-field-privacy.rs:35:7
27 |
28 LL | z.1;
29 | ^ private field
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0616`.