mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
7 lines
276 B
Text
7 lines
276 B
Text
error: `#[derive(ArgEnum)]` only supports enums
|
|
--> $DIR/arg_enum_on_struct.rs:3:10
|
|
|
|
|
3 | #[derive(ArgEnum, Clone, Debug)]
|
|
| ^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `ArgEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
|