Searched refs:INTERNAL_ERROR_MSG (Results 1 – 14 of 14) sorted by relevance
/third_party/rust/crates/clap/src/parser/ |
D | arg_matcher.rs | 14 use crate::INTERNAL_ERROR_MSG; 167 .expect(INTERNAL_ERROR_MSG) in start_occurrence_of_external() 176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); in add_val_to() 181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); in add_index_to() 196 let expected = o.get_num_args().expect(INTERNAL_ERROR_MSG); in needs_more_vals() 220 debug_assert_eq!(pending.id, *id, "{}", INTERNAL_ERROR_MSG); in pending_values_mut() 222 debug_assert_eq!(pending.ident, ident, "{}", INTERNAL_ERROR_MSG); in pending_values_mut()
|
D | validator.rs | 11 use crate::INTERNAL_ERROR_MSG; 175 let c_arg = self.cmd.find(&c_id).expect(INTERNAL_ERROR_MSG); in build_conflict_err() 181 let former_arg = self.cmd.find(name).expect(INTERNAL_ERROR_MSG); in build_conflict_err() 535 let group = cmd.find_group(&group_id).expect(INTERNAL_ERROR_MSG); in gather_arg_direct_conflicts()
|
D | parser.rs | 23 use crate::INTERNAL_ERROR_MSG; 471 .expect(INTERNAL_ERROR_MSG) in get_matches_with() 1106 let arg = self.cmd.find(&pending.id).expect(INTERNAL_ERROR_MSG); in resolve_pending() 1309 let expected = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in verify_num_args() 1348 .expect(INTERNAL_ERROR_MSG) in verify_num_args()
|
/third_party/rust/crates/clap/src/parser/matches/ |
D | matched_arg.rs | 13 use crate::INTERNAL_ERROR_MSG; 57 .expect(INTERNAL_ERROR_MSG) in new_external() 118 self.vals.last_mut().expect(INTERNAL_ERROR_MSG).push(val); in append_val() 121 .expect(INTERNAL_ERROR_MSG) in append_val()
|
D | arg_matches.rs | 18 use crate::INTERNAL_ERROR_MSG; 1087 .expect(INTERNAL_ERROR_MSG)) // enforced by `try_get_arg_t` in try_get_one() 1879 value.downcast_ref().expect(INTERNAL_ERROR_MSG) in unwrap_downcast_ref() 1884 value.downcast_into().expect(INTERNAL_ERROR_MSG) in unwrap_downcast_into()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | powershell.rs | 7 use crate::INTERNAL_ERROR_MSG; 78 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
|
D | elvish.rs | 7 use crate::INTERNAL_ERROR_MSG; 73 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
|
D | zsh.rs | 6 use crate::INTERNAL_ERROR_MSG; 127 subcommands_of(parser_of(p, bin_name).expect(INTERNAL_ERROR_MSG)) in subcommand_details() 235 parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG), 244 let children = get_subcommands_of(parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG));
|
/third_party/rust/crates/clap/src/ |
D | mkeymap.rs | 6 use crate::INTERNAL_ERROR_MSG; 149 self.get(key).expect(INTERNAL_ERROR_MSG) in index()
|
D | lib.rs | 153 const INTERNAL_ERROR_MSG: &str = "Fatal internal error. Please consider filing a bug \ constant
|
/third_party/rust/crates/clap/clap_complete/src/ |
D | lib.rs | 58 const INTERNAL_ERROR_MSG: &str = "Fatal internal error. Please consider filing a bug \ constant
|
/third_party/rust/crates/clap/src/builder/ |
D | debug_asserts.rs | 11 use crate::INTERNAL_ERROR_MSG; 604 && !p.get_num_args().expect(INTERNAL_ERROR_MSG).is_fixed() in _verify_positionals() 761 let num_vals = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in assert_arg()
|
D | arg.rs | 24 use crate::INTERNAL_ERROR_MSG; 3852 self.get_num_args().expect(INTERNAL_ERROR_MSG).min_values() in get_min_vals() 4131 .expect(INTERNAL_ERROR_MSG) in name_no_brackets()
|
D | command.rs | 29 use crate::{Error, INTERNAL_ERROR_MSG}; 3492 .map(|id| self.find(id).expect(INTERNAL_ERROR_MSG)), in get_arg_conflicts_with() 4492 .expect(INTERNAL_ERROR_MSG) in unroll_args_in_group() 4671 self.find(key).expect(INTERNAL_ERROR_MSG) in index()
|