mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
e0e7383300
`derive_ui.rs` did not have a marker for needing to be updated on MSRV changes, so it got missed.
23 lines
856 B
Text
23 lines
856 B
Text
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<'_>;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|