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