2018-11-24 15:37:35 -08:00
|
|
|
error[E0609]: no field `b` on type `&remote::S`
|
2018-12-31 21:36:59 -05:00
|
|
|
--> $DIR/unknown_field.rs:12:5
|
2018-11-24 15:37:35 -08:00
|
|
|
|
|
2018-12-31 21:36:59 -05:00
|
|
|
12 | b: u8,
|
2018-11-24 15:37:35 -08:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0560]: struct `remote::S` has no field named `b`
|
2018-12-31 21:36:59 -05:00
|
|
|
--> $DIR/unknown_field.rs:12:5
|
2018-11-24 15:37:35 -08:00
|
|
|
|
|
2018-12-31 21:36:59 -05:00
|
|
|
12 | b: u8,
|
2018-12-31 22:07:47 -05:00
|
|
|
| ^ help: a field with a similar name exists: `a`
|
2018-11-24 15:37:35 -08:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0560, E0609.
|
|
|
|
For more information about an error, try `rustc --explain E0560`.
|