mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52: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.
26 lines
1.2 KiB
Text
26 lines
1.2 KiB
Text
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
|
--> $DIR/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
= note: required by `has_subcommand`
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
|
--> $DIR/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
= note: required by `augment_subcommands`
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
|
--> $DIR/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
= note: required by `augment_subcommands_for_update`
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|