clap/clap_derive/tests/ui/subcommand_on_struct.stderr

8 lines
283 B
Text
Raw Normal View History

error: `#[derive(Subcommand)]` only supports enums
--> $DIR/subcommand_on_struct.rs:3:10
|
3 | #[derive(Subcommand, Debug)]
| ^^^^^^^^^^
|
= note: this error originates in the derive macro `Subcommand` (in Nightly builds, run with -Z macro-backtrace for more info)