Home
last modified time | relevance | path

Searched refs:InvalidUtf8 (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/clap/tests/derive/
Dutf8.rs23 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_positional()
34 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_space()
44 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_equals()
54 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_no_space()
65 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_long_space()
75 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_long_equals()
186 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in refuse_invalid_utf8_subcommand_with_allow_external_subcommands()
199 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in refuse_invalid_utf8_subcommand_args_with_allow_external_subcommands()
/third_party/rust/crates/clap/tests/builder/
Dutf8.rs13 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_positional()
31 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_space()
48 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_equals()
65 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_short_no_space()
83 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_long_space()
100 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in invalid_utf8_strict_option_long_equals()
267 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in refuse_invalid_utf8_subcommand_with_allow_external_subcommands()
280 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in refuse_invalid_utf8_subcommand_when_args_are_allowed_with_allow_external_subcommands()
296 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidUtf8); in refuse_invalid_utf8_subcommand_args_with_allow_external_subcommands()
/third_party/rust/crates/clap/src/error/
Dkind.rs243 InvalidUtf8, enumerator
334 Self::InvalidUtf8 => Some("invalid UTF-8 was detected in one or more arguments"), in as_str()
Dformat.rs272 ErrorKind::InvalidUtf8 => false, in write_dynamic_context()
Dmod.rs536 let mut err = Self::new(ErrorKind::InvalidUtf8).with_cmd(cmd); in invalid_utf8()
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dtranslate.rs662 return Err(self.error(lit.span, ErrorKind::InvalidUtf8)); in literal_to_char()
717 return Err(self.error(span, ErrorKind::InvalidUtf8)); in hir_dot()
760 self.error(asst.span, ErrorKind::InvalidUtf8) in hir_assertion()
977 return Err(self.error(span.clone(), ErrorKind::InvalidUtf8)); in bytes_fold_and_negate()
1438 kind: hir::ErrorKind::InvalidUtf8, in literal()
1544 kind: hir::ErrorKind::InvalidUtf8, in dot()
1554 kind: hir::ErrorKind::InvalidUtf8, in dot()
1585 kind: hir::ErrorKind::InvalidUtf8, in assertions()
1943 kind: hir::ErrorKind::InvalidUtf8, in class_ascii()
1953 kind: hir::ErrorKind::InvalidUtf8, in class_ascii()
[all …]
Dmod.rs63 InvalidUtf8, enumerator
100 InvalidUtf8 => "pattern can match invalid UTF-8", in description()
/third_party/rust/crates/clap/
DCHANGELOG.md2992 * `InvalidUnicode` => `InvalidUtf8`