mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
8 lines
268 B
Text
8 lines
268 B
Text
|
error: `#[derive(Subcommand)]` only supports enums
|
||
|
--> $DIR/subcommand_on_struct.rs:3:10
|
||
|
|
|
||
|
3 | #[derive(Subcommand, Debug)]
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|