clap/tests/derive_ui/enum_variant_not_args.stderr

24 lines
856 B
Text
Raw Normal View History

error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
--> tests/derive_ui/enum_variant_not_args.rs:3:9
|
3 | Sub(SubCmd),
| ^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
|
note: required by `augment_args`
--> src/derive.rs
|
| fn augment_args(cmd: Command<'_>) -> Command<'_>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
--> tests/derive_ui/enum_variant_not_args.rs:3:9
|
3 | Sub(SubCmd),
| ^^^^^^ the trait `clap::Args` is not implemented for `SubCmd`
|
note: required by `augment_args_for_update`
--> src/derive.rs
|
| fn augment_args_for_update(cmd: Command<'_>) -> Command<'_>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^