2017-12-10 13:47:55 -06:00
|
|
|
error[E0560]: struct `BuildData` has no field named `bar`
|
|
|
|
--> $DIR/struct-fields-too-many.rs:18:9
|
|
|
|
|
|
|
|
|
18 | bar: 0
|
2018-02-17 21:35:59 -06:00
|
|
|
| ^^^ `BuildData` does not have this field
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
|
= note: available fields are: `foo`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0560"
|