pub type PResult<'a, T> = Result<T, PErr<'a>>;Expand description
Parser result type. This is a shorthand for Result<T, PErr<'a>>.
Aliased Type§
pub enum PResult<'a, T> {
Ok(T),
Err(DiagBuilder<'a, ErrorGuaranteed>),
}Variants§
Ok(T)
Contains the success value
Err(DiagBuilder<'a, ErrorGuaranteed>)
Contains the error value
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.