Type Alias EvalToAllocationRawResult

Source
pub type EvalToAllocationRawResult<'tcx> = Result<ConstAlloc<'tcx>, ErrorHandled>;

Aliased Type§

pub enum EvalToAllocationRawResult<'tcx> {
    Ok(ConstAlloc<'tcx>),
    Err(ErrorHandled),
}

Variants§

§

Ok(ConstAlloc<'tcx>)

Contains the success value

§

Err(ErrorHandled)

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.