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
|
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | aa: 20,
|
2018-02-17 19:35:59 -08:00
|
|
|
| ^^ field does not exist - did you mean `a`?
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | bb: 20,
|
2018-02-17 19:35:59 -08:00
|
|
|
| ^^ `xc::B` does not have this field
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
|
= 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
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | aa: 20,
|
2018-02-17 19:35:59 -08:00
|
|
|
| ^^ field does not exist - did you mean `a`?
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | bb: 20,
|
2018-02-17 19:35:59 -08:00
|
|
|
| ^^ field does not exist - did you mean `b`?
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0560`.
|