Searched refs:INTERNAL_ERROR_MSG (Results 1 - 14 of 14) sorted by relevance
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | zsh.rs | 6 use crate::INTERNAL_ERROR_MSG; 131 subcommands_of(parser_of(p, bin_name).expect(INTERNAL_ERROR_MSG)) in subcommand_details() 237 parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG), in get_subcommands_of() 246 let children = get_subcommands_of(parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG)); in get_subcommands_of()
|
H A D | powershell.rs | 7 use crate::INTERNAL_ERROR_MSG; 78 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
|
H A D | elvish.rs | 7 use crate::INTERNAL_ERROR_MSG; 71 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | arg_matcher.rs | 14 use crate::INTERNAL_ERROR_MSG; 167 .expect(INTERNAL_ERROR_MSG) 176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); 181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); 196 let expected = o.get_num_args().expect(INTERNAL_ERROR_MSG); 220 debug_assert_eq!(pending.id, *id, "{INTERNAL_ERROR_MSG}"); 222 debug_assert_eq!(pending.ident, ident, "{INTERNAL_ERROR_MSG}");
|
H A D | parser.rs | 23 use crate::INTERNAL_ERROR_MSG; 471 .expect(INTERNAL_ERROR_MSG) 1105 let arg = self.cmd.find(&pending.id).expect(INTERNAL_ERROR_MSG); in resolve_pending() 1308 let expected = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in verify_num_args() 1347 .expect(INTERNAL_ERROR_MSG) in verify_num_args()
|
H A 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() 532 let group = cmd.find_group(&group_id).expect(INTERNAL_ERROR_MSG); in gather_arg_direct_conflicts()
|
/third_party/rust/crates/clap/src/parser/matches/ |
H A D | matched_arg.rs | 13 use crate::INTERNAL_ERROR_MSG; 57 .expect(INTERNAL_ERROR_MSG) 118 self.vals.last_mut().expect(INTERNAL_ERROR_MSG).push(val); 121 .expect(INTERNAL_ERROR_MSG)
|
H A D | arg_matches.rs | 18 use crate::INTERNAL_ERROR_MSG; 1095 .expect(INTERNAL_ERROR_MSG)) // enforced by `try_get_arg_t` in try_get_one() 1886 value.downcast_ref().expect(INTERNAL_ERROR_MSG) in unwrap_downcast_ref() 1891 value.downcast_into().expect(INTERNAL_ERROR_MSG) in unwrap_downcast_ref()
|
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | lib.rs | 58 const INTERNAL_ERROR_MSG: &str = "Fatal internal error. Please consider filing a bug \ consts
|
/third_party/rust/crates/clap/src/builder/ |
H A D | debug_asserts.rs | 11 use crate::INTERNAL_ERROR_MSG; 593 && !p.get_num_args().expect(INTERNAL_ERROR_MSG).is_fixed() in _verify_positionals() 750 let num_vals = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in assert_arg()
|
H A D | arg.rs | 24 use crate::INTERNAL_ERROR_MSG; 3853 self.get_num_args().expect(INTERNAL_ERROR_MSG).min_values() 4132 .expect(INTERNAL_ERROR_MSG)
|
H A 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) 4673 self.find(key).expect(INTERNAL_ERROR_MSG) in index()
|
/third_party/rust/crates/clap/src/ |
H A D | lib.rs | 153 const INTERNAL_ERROR_MSG: &str = "Fatal internal error. Please consider filing a bug \ consts
|
H A D | mkeymap.rs | 6 use crate::INTERNAL_ERROR_MSG; 151 self.get(key).expect(INTERNAL_ERROR_MSG) in index()
|
Completed in 18 milliseconds