clap/clap_derive/tests/ui/parse_literal_spec.stderr
2020-01-18 19:04:11 +05:30

11 lines
487 B
Text

error: parser specification must start with identifier
--> $DIR/parse_literal_spec.rs:14:18
|
14 | #[clap(parse("from_str"))]
| ^^^^^^^^^^
error[E0277]: the trait bound `Opt: std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not satisfied
--> $DIR/parse_literal_spec.rs:11:10
|
11 | #[derive(Clap, Debug)]
| ^^^^ the trait `std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not implemented for `Opt`