mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
b190a6a817
This reduces the need for us to have `clap` as a dependency in `clap_derive`, preparing the way to fix #15.
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)
|