pub type EvalToConstValueResult<'tcx> = Result<ConstValue<'tcx>, ErrorHandled>;
Aliased Type§
pub enum EvalToConstValueResult<'tcx> {
Ok(ConstValue<'tcx>),
Err(ErrorHandled),
}
Variants§
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.