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