mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
b190a6a817
This reduces the need for us to have `clap` as a dependency in `clap_derive`, preparing the way to fix #15.
15 lines
526 B
Text
15 lines
526 B
Text
error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
|
|
--> $DIR/flatten_enum_in_struct.rs:3:12
|
|
|
|
|
3 | #[clap(flatten)]
|
|
| ^^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
|
|
|
|
|
= note: required by `augment_args`
|
|
|
|
error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
|
|
--> $DIR/flatten_enum_in_struct.rs:3:12
|
|
|
|
|
3 | #[clap(flatten)]
|
|
| ^^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
|
|
|
|
|
= note: required by `augment_args_for_update`
|