1 2 3 4 5 6 7 8 9 10
//! Expected error: "field `field` has `#[argot(...)]` but is missing a kind — add `positional` or `flag`" use argot::ArgotCommand; #[derive(ArgotCommand)] struct Bad { #[argot(description = "no kind specified")] field: String, } fn main() {}