Home
last modified time | relevance | path

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

/external/rust/crates/nom/src/
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)?, 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()
[all …]