mirror of
https://github.com/clap-rs/clap
synced 2025-01-09 11:18:45 +00:00
11 lines
475 B
Text
11 lines
475 B
Text
error: methods and doc comments are not allowed for flattened entry
|
|
--> $DIR/flatten_and_doc.rs:23:12
|
|
|
|
|
23 | #[clap(flatten)]
|
|
| ^^^^^^^
|
|
|
|
error[E0277]: the trait bound `Opt: std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not satisfied
|
|
--> $DIR/flatten_and_doc.rs:19:10
|
|
|
|
|
19 | #[derive(Clap, Debug)]
|
|
| ^^^^ the trait `std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not implemented for `Opt`
|