mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
10 lines
468 B
Text
10 lines
468 B
Text
error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied
|
|
--> tests/derive_ui/flatten_struct_in_enum.rs:1:10
|
|
|
|
|
1 | #[derive(clap::Parser)]
|
|
| ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd`
|
|
|
|
|
= help: the following other types implement trait `Subcommand`:
|
|
Box<T>
|
|
Opt
|
|
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
|