rustc_errors

Type Alias PResult

Source
pub type PResult<'a, T> = Result<T, Diag<'a>>;

Aliased Type§

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

Variants§

§

Ok(T)

Contains the success value

§

Err(Diag<'a>)

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.