-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
flatten_struct_in_enum.stderr
38 lines (36 loc) · 1.69 KB
/
flatten_struct_in_enum.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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`
|
note: required by `has_subcommand`
--> src/derive.rs
|
| fn has_subcommand(name: &str) -> bool;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
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`
|
note: required by `augment_subcommands`
--> src/derive.rs
|
| fn augment_subcommands(cmd: Command<'_>) -> Command<'_>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)
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`
|
note: required by `augment_subcommands_for_update`
--> src/derive.rs
|
| fn augment_subcommands_for_update(cmd: Command<'_>) -> Command<'_>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `clap::Parser` (in Nightly builds, run with -Z macro-backtrace for more info)