clap/tests/derive_ui/value_enum_on_struct.stderr
Ed Page 9e38353442 fix(derive): Clarify ArgEnum as ValueEnum
We aren't enumerating arguments but values for an argument, so the name
should reflect that.

This will be important as part of #1807 when we have more specific
attribute names.
2022-06-08 11:14:09 -05:00

7 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)