Lines Matching refs:VerboseErrorKind
154 pub errors: crate::lib::std::vec::Vec<(I, VerboseErrorKind)>,
161 pub enum VerboseErrorKind { enum
175 errors: vec![(input, VerboseErrorKind::Nom(kind))], in from_error_kind()
180 other.errors.push((input, VerboseErrorKind::Nom(kind))); in append()
186 errors: vec![(input, VerboseErrorKind::Char(c))], in from_char()
195 other.errors.push((input, VerboseErrorKind::Context(ctx))); in add_context()
215 VerboseErrorKind::Nom(e) => writeln!(f, "{:?} at: {}", e, input)?, in fmt()
216 VerboseErrorKind::Char(c) => writeln!(f, "expected '{}' at: {}", c, input)?, in fmt()
217 VerboseErrorKind::Context(s) => writeln!(f, "in section '{}', at: {}", s, input)?, in fmt()
265 VerboseErrorKind::Char(c) => { in convert_error()
268 VerboseErrorKind::Context(s) => write!(&mut result, "{}: in {}, got empty input\n\n", i, s), in convert_error()
269 VerboseErrorKind::Nom(e) => write!(&mut result, "{}: in {:?}, got empty input\n\n", i, e), in convert_error()
297 VerboseErrorKind::Char(c) => { in convert_error()
329 VerboseErrorKind::Context(s) => write!( in convert_error()
341 VerboseErrorKind::Nom(e) => write!( in convert_error()