2018-02-07 21:35:35 -06:00
|
|
|
error[E0559]: variant `Field::Fool` has no field named `joke`
|
|
|
|
--> $DIR/E0559.rs:16:27
|
|
|
|
|
|
|
|
|
16 | let s = Field::Fool { joke: 0 };
|
2018-02-17 21:35:59 -06:00
|
|
|
| ^^^^ `Field::Fool` does not have this field
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
|
= note: available fields are: `x`
|
|
|
|
|
|
|
|
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 E0559"
|