mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
8 lines
297 B
Text
8 lines
297 B
Text
|
error: `#[derive(ValueEnum)]` only supports enums
|
||
|
--> tests/derive_ui/value_enum_on_struct.rs:3:10
|
||
|
|
|
||
|
3 | #[derive(ValueEnum, Clone, Debug)]
|
||
|
| ^^^^^^^^^
|
||
|
|
|
||
|
= note: this error originates in the derive macro `ValueEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|