mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +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
876 B
Text
23 lines
876 B
Text
error[E0277]: the trait bound `SubCmd: clap::Args` is not satisfied
|
|
--> tests/derive_ui/flatten_enum_in_struct.rs:3:12
|
|
|
|
|
3 | #[clap(flatten)]
|
|
| ^^^^^^^ 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/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`
|
|
--> src/derive.rs
|
|
|
|
|
| fn augment_args_for_update(cmd: Command<'_>) -> Command<'_>;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|