Home
last modified time | relevance | path

Searched refs:VerboseErrorKind (Results 1 - 1 of 1) sorted by relevance

/third_party/rust/crates/nom/src/
H A Derror.rs154 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)?,
216 VerboseErrorKind::Char(c) => writeln!(f, "expected '{}' at: {}", c, input)?,
217 VerboseErrorKind::Context(s) => writeln!(f, "in section '{}', at: {}", s, input)?,
265 VerboseErrorKind in convert_error()
[all...]

Completed in 1 milliseconds