Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/src/builder/
Darg.rs67 pub(crate) r_unless: Vec<Id>, field
2951 self.r_unless.push(arg_id); in required_unless_present()
2953 self.r_unless.clear(); in required_unless_present()
3108 self.r_unless.extend(names.into_iter().map(Into::into)); in required_unless_present_any()
4292 .field("r_unless", &self.r_unless) in fmt()
Ddebug_asserts.rs191 for req in &arg.r_unless { in assert_app()
/third_party/rust/crates/clap/src/parser/
Dvalidator.rs330 if (!a.r_unless.is_empty() || !a.r_unless_all.is_empty()) in validate_required()
393 && !a.r_unless.iter().any(exists) in fails_arg_required_unless()