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

11 lines
463 B
Text

error: methods are not allowed for skipped fields
--> $DIR/skip_with_other_options.rs:8:12
|
8 | #[clap(skip, long)]
| ^^^^
error[E0277]: the trait bound `Opt: std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not satisfied
--> $DIR/skip_with_other_options.rs:3:10
|
3 | #[derive(Clap, Debug)]
| ^^^^ the trait `std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not implemented for `Opt`