2021-10-11 20:54:44 +00:00
|
|
|
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
2022-05-20 19:10:30 +00:00
|
|
|
--> tests/derive_ui/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
|
|
|
|
note: required by `has_subcommand`
|
|
|
|
--> src/derive.rs
|
|
|
|
|
|
|
|
|
| fn has_subcommand(name: &str) -> bool;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2021-10-11 20:54:44 +00:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
2022-05-20 19:10:30 +00:00
|
|
|
--> tests/derive_ui/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
|
|
|
|
note: required by `augment_subcommands`
|
|
|
|
--> src/derive.rs
|
|
|
|
|
|
|
|
|
| fn augment_subcommands(cmd: Command<'_>) -> Command<'_>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2021-10-11 20:54:44 +00:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
2022-05-20 19:10:30 +00:00
|
|
|
--> tests/derive_ui/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`
|
|
|
|
--> src/derive.rs
|
|
|
|
|
|
|
|
|
| fn augment_subcommands_for_update(cmd: Command<'_>) -> Command<'_>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|