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