Type Alias Value

Source
pub type Value<'tcx> = EvalToValTreeResult<'tcx>;

Aliased Type§

pub enum Value<'tcx> {
    Ok(Result<ValTree<'tcx>, Ty<'tcx>>),
    Err(ErrorHandled),
}

Variants§

§

Ok(Result<ValTree<'tcx>, Ty<'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.