clap/tests/derive_ui/unsupported_parser.rs
2022-02-15 12:00:25 +01:00

11 lines
171 B
Rust

use clap::Parser;
#[derive(Parser, Clone, Debug)]
struct Opt {
#[clap(parse(not_a_valid_parser))]
value: i8,
}
fn main() {
println!("{:?}", Opt::parse());
}