Searched refs:INVALID_UTF8 (Results 1 – 5 of 5) sorted by relevance
5 use INVALID_UTF8;97 self.to_str().map(|s| s.as_bytes()).expect(INVALID_UTF8) in as_bytes()
583 const INVALID_UTF8: &'static str = "unexpected invalid UTF-8 code point"; constant
11 use INVALID_UTF8;118 return Some(v.to_str().expect(INVALID_UTF8)); in value_of()217 o.to_str().expect(INVALID_UTF8) in values_of()
16 use INVALID_UTF8;390 .expect(INVALID_UTF8), in validate_arg_num_vals()
40 use INVALID_UTF8;1683 .map(|x| x.to_str().expect(INVALID_UTF8)) in parse_long_arg()1685 self.did_you_mean_error(arg.to_str().expect(INVALID_UTF8), matcher, &args_rest2[..]) in parse_long_arg()