Type Alias rustc_errors::PResult

source ·
pub type PResult<'a, T> = Result<T, PErr<'a>>;

Aliased Type§

enum PResult<'a, T> {
    Ok(T),
    Err(DiagnosticBuilder<'a, ErrorGuaranteed>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DiagnosticBuilder<'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.