1error[E0277]: the trait bound `SubCmd: Subcommand` is not satisfied 2 --> tests/derive_ui/flatten_struct_in_enum.rs:1:10 3 | 41 | #[derive(clap::Parser)] 5 | ^^^^^^^^^^^^ the trait `Subcommand` is not implemented for `SubCmd` 6 | 7 = help: the following other types implement trait `Subcommand`: 8 Box<T> 9 Opt 10 = note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info) 11