Home
last modified time | relevance | path

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

/external/rust/crates/nom/src/
Derror.rs151 pub struct VerboseError<I> { struct
172 impl<I> ParseError<I> for VerboseError<I> { implementation
174 VerboseError { in from_error_kind()
185 VerboseError { in from_char()
193 impl<I> ContextError<I> for VerboseError<I> { implementation
202 impl<I, E> FromExternalError<I, E> for VerboseError<I> { implementation
210 impl<I: fmt::Display> fmt::Display for VerboseError<I> { implementation
226 impl<I: fmt::Debug + fmt::Display> std::error::Error for VerboseError<I> {} implementation
253 e: VerboseError<I>, in convert_error()
617 let _result: IResult<_, _, VerboseError<&str>> = char('x')(input); in convert_error_panic()
Dtraits.rs1315 impl<I> ErrorConvert<error::VerboseError<I>> for error::VerboseError<(I, usize)> { implementation
1316 fn convert(self) -> error::VerboseError<I> { in convert()
1317 error::VerboseError { in convert()
1325 impl<I> ErrorConvert<error::VerboseError<(I, usize)>> for error::VerboseError<I> { implementation
1326 fn convert(self) -> error::VerboseError<(I, usize)> { in convert()
1327 error::VerboseError { in convert()
/external/rust/crates/nom/tests/
Dissues.rs181 use nom::error::{convert_error, VerboseError}; in issue_1027_convert_error_panic_nonempty()
186 let result: IResult<_, _, VerboseError<&str>> = pair(char('a'), char('b'))(input); in issue_1027_convert_error_panic_nonempty()
/external/rust/crates/nom/
DCHANGELOG.md223 - implement `std::error::Error` on `VerboseError`
245 - `ErrorConvert` implementation for `VerboseError`
319 While the `VerboseError` type and its `convert_error` function saw some changes,
456 bound. To get equivalent behaviour to `verbose-errors`, check out `nom::error::VerboseError`
472 - the `VerboseError` type accumulates position info and error codes, and can generate a trace with …