]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/suggest-private-fields.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / suggestions / suggest-private-fields.stderr
CommitLineData
ff7c6d11 1error[E0560]: struct `xc::B` has no field named `aa`
0731742a 2 --> $DIR/suggest-private-fields.rs:15:9
ff7c6d11 3 |
0531ce1d 4LL | aa: 20,
0731742a 5 | ^^ help: a field with a similar name exists: `a`
ff7c6d11
XL
6
7error[E0560]: struct `xc::B` has no field named `bb`
0731742a 8 --> $DIR/suggest-private-fields.rs:17:9
ff7c6d11 9 |
0531ce1d
XL
10LL | bb: 20,
11 | ^^ `xc::B` does not have this field
ff7c6d11
XL
12 |
13 = note: available fields are: `a`
14
15error[E0560]: struct `A` has no field named `aa`
0731742a 16 --> $DIR/suggest-private-fields.rs:22:9
ff7c6d11 17 |
0531ce1d 18LL | aa: 20,
0731742a 19 | ^^ help: a field with a similar name exists: `a`
ff7c6d11
XL
20
21error[E0560]: struct `A` has no field named `bb`
0731742a 22 --> $DIR/suggest-private-fields.rs:24:9
ff7c6d11 23 |
0531ce1d 24LL | bb: 20,
0731742a 25 | ^^ help: a field with a similar name exists: `b`
ff7c6d11
XL
26
27error: aborting due to 4 previous errors
28
0531ce1d 29For more information about this error, try `rustc --explain E0560`.