rust/tests/ui/error-codes/E0559.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

12 lines
361 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 1 previous error
For more information about this error, try `rustc --explain E0559`.