1 2 3 4 5 6 7 8 9 10 11 12 13
//! An option that isn't available in the config file nor in the argument //! parser should compile. use structconf::StructConf; #[allow(dead_code)] #[derive(StructConf)] struct Config { #[conf(no_file, no_short, no_long)] ignore_all: i32, } fn main() {}