Type Alias CoerceResult

Source
type CoerceResult<'tcx> = InferResult<'tcx, (Vec<Adjustment<'tcx>>, Ty<'tcx>)>;

Aliased Type§

enum CoerceResult<'tcx> {
    Ok(InferOk<'tcx, (Vec<Adjustment<'tcx>>, Ty<'tcx>)>),
    Err(TypeError<TyCtxt<'tcx>>),
}

Variants§

§

Ok(InferOk<'tcx, (Vec<Adjustment<'tcx>>, Ty<'tcx>)>)

Contains the success value

§

Err(TypeError<TyCtxt<'tcx>>)

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.