2017-12-10 22:47:55 +03:00
|
|
|
error[E0560]: struct `xc::B` has no field named `aa`
|
|
|
|
--> $DIR/suggest-private-fields.rs:25:9
|
|
|
|
|
|
|
|
|
25 | aa: 20,
|
|
|
|
| ^^^ field does not exist - did you mean `a`?
|
|
|
|
|
|
|
|
error[E0560]: struct `xc::B` has no field named `bb`
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/suggest-private-fields.rs:27:9
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2017-12-10 23:29:24 +03:00
|
|
|
27 | bb: 20,
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^ `xc::B` does not have this field
|
|
|
|
|
|
|
|
|
= note: available fields are: `a`
|
|
|
|
|
|
|
|
error[E0560]: struct `A` has no field named `aa`
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/suggest-private-fields.rs:32:9
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2017-12-10 23:29:24 +03:00
|
|
|
32 | aa: 20,
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^ field does not exist - did you mean `a`?
|
|
|
|
|
|
|
|
error[E0560]: struct `A` has no field named `bb`
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/suggest-private-fields.rs:34:9
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2017-12-10 23:29:24 +03:00
|
|
|
34 | bb: 20,
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^ field does not exist - did you mean `b`?
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|