2017-12-10 13:47:55 -06:00
|
|
|
error[E0560]: struct `A` has no field named `bar`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/struct-fields-hints.rs:10:9
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | bar : 42,
|
2018-12-20 17:10:46 -06:00
|
|
|
| ^^^ help: a field with a similar name exists: `car`
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0560`.
|