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