]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0616]: field `a` of struct `inner::A` is private |
ba9703b0 | 2 | --> $DIR/struct-field-privacy.rs:23:7 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | b.a; |
ba9703b0 | 5 | | ^ private field |
b7449926 XL |
6 | |
7 | error[E0616]: field `b` of struct `inner::B` is private | |
ba9703b0 | 8 | --> $DIR/struct-field-privacy.rs:26:7 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | c.b; |
ba9703b0 | 11 | | ^ private field |
b7449926 XL |
12 | |
13 | error[E0616]: field `a` of struct `xc::A` is private | |
ba9703b0 | 14 | --> $DIR/struct-field-privacy.rs:28:7 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | d.a; |
ba9703b0 | 17 | | ^ private field |
b7449926 XL |
18 | |
19 | error[E0616]: field `b` of struct `xc::B` is private | |
ba9703b0 | 20 | --> $DIR/struct-field-privacy.rs:32:7 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | e.b; |
ba9703b0 | 23 | | ^ private field |
b7449926 | 24 | |
1b1a35ee | 25 | error[E0616]: field `1` of struct `Z` is private |
ba9703b0 | 26 | --> $DIR/struct-field-privacy.rs:35:7 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | z.1; |
ba9703b0 | 29 | | ^ private field |
b7449926 XL |
30 | |
31 | error: aborting due to 5 previous errors | |
32 | ||
33 | For more information about this error, try `rustc --explain E0616`. |