rustc_trait_selection::infer::canonical::ir::relate

Type Alias RelateResult

Source
pub type RelateResult<I, T> = Result<T, TypeError<I>>;

Aliased Type§

enum RelateResult<I, T> {
    Ok(T),
    Err(TypeError<I>),
}

Variants§

§

Ok(T)

Contains the success value

§

Err(TypeError<I>)

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.