mirror of
https://github.com/openharmony/third_party_rust_clap.git
synced 2026-07-19 21:23:35 -04:00
b190a6a817
This reduces the need for us to have `clap` as a dependency in `clap_derive`, preparing the way to fix #15.
8 lines
283 B
Plaintext
8 lines
283 B
Plaintext
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)
|