clap/tests/derive_ui/subcommand_on_struct.stderr
Ed Page b190a6a817 test: Consolidate clap tests
This reduces the need for us to have `clap` as a dependency in
`clap_derive`, preparing the way to fix #15.
2021-11-30 10:07:08 -06:00

7 lines
283 B
Text

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)