Home
last modified time | relevance | path

Searched refs:possible_vals (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/clap/src/output/
Dhelp_template.rs608 let possible_vals = arg.get_possible_values(); in help() localVariable
611 && possible_vals.iter().any(PossibleValue::should_show_help) in help()
615 possible_vals in help()
622 let longest = possible_vals in help()
627 let help_longest = possible_vals in help()
646 for pv in possible_vals.iter().filter(|pv| !pv.is_hide_set()) { in help()
784 let possible_vals = a.get_possible_values(); in spec_vals() localVariable
786 || possible_vals.is_empty() in spec_vals()
787 || self.use_long && possible_vals.iter().any(PossibleValue::should_show_help)) in spec_vals()
791 possible_vals in spec_vals()
[all …]
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
Dsettings.rs15 let possible_vals = [$($val),*] localVariable
23 format!("unknown setting `{}`, expected one of {}", ident, possible_vals)))
/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs1046 let possible_vals = || { in parse_ref() localVariable
1059 &possible_vals(), in parse_ref()
1075 &possible_vals(), in parse_ref()
1177 let possible_vals = self in parse() localVariable
1187 &possible_vals, in parse()
1645 let possible_vals = Self::possible_values() in parse_ref() localVariable
1652 &possible_vals, in parse_ref()