1 error[E0560]: struct `B` has no field named `aa`
2 --> $DIR/suggest-private-fields.rs:15:9
5 | ^^ help: a field with a similar name exists: `a`
7 error[E0560]: struct `B` has no field named `bb`
8 --> $DIR/suggest-private-fields.rs:17:9
11 | ^^ `B` does not have this field
13 = note: available fields are: `a`
15 error[E0560]: struct `A` has no field named `aa`
16 --> $DIR/suggest-private-fields.rs:22:9
19 | ^^ help: a field with a similar name exists: `a`
21 error[E0560]: struct `A` has no field named `bb`
22 --> $DIR/suggest-private-fields.rs:24:9
25 | ^^ help: a field with a similar name exists: `b`
27 error: aborting due to 4 previous errors
29 For more information about this error, try `rustc --explain E0560`.