flowistry_pdg::rustc::mir::interpret

Type Alias EvalToConstValueResult

Source
pub type EvalToConstValueResult<'tcx> = Result<ConstValue<'tcx>, ErrorHandled>;

Aliased Type§

enum EvalToConstValueResult<'tcx> {
    Ok(ConstValue<'tcx>),
    Err(ErrorHandled),
}

Variants§

§

Ok(ConstValue<'tcx>)

Contains the success value

§

Err(ErrorHandled)

Contains the error value