clap/clap_derive/tests/ui/clap_empty_attr.stderr
2020-02-05 09:34:23 +03:00

23 lines
874 B
Text

error: expected attribute arguments in parentheses: #[clap(...)]
--> $DIR/clap_empty_attr.rs:4:1
|
4 | #[clap]
| ^^^^^^^
error: expected parentheses: #[clap(...)]
--> $DIR/clap_empty_attr.rs:9:12
|
9 | #[clap = "short"]
| ^
error[E0277]: the trait bound `Opt: std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not satisfied
--> $DIR/clap_empty_attr.rs:3:10
|
3 | #[derive(Clap, Debug)]
| ^^^^ the trait `std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not implemented for `Opt`
error[E0277]: the trait bound `Opt1: std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not satisfied
--> $DIR/clap_empty_attr.rs:7:10
|
7 | #[derive(Clap, Debug)]
| ^^^^ the trait `std::convert::From<clap::parse::matches::arg_matches::ArgMatches>` is not implemented for `Opt1`