mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
error[E0559]: variant `Field::Fool` has no field named `joke`
|
|
--> $DIR/E0559.rs:6:27
|
|
|
|
|
LL | let s = Field::Fool { joke: 0 };
|
|
| ^^^^ `Field::Fool` does not have this field
|
|
|
|
|
= note: available fields are: `x`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0559`.
|