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