rustc_const_eval::const_eval::eval_queries

Function eval_in_interpreter

Source
fn eval_in_interpreter<'tcx, R: InterpretationResult<'tcx>>(
    tcx: TyCtxt<'tcx>,
    cid: GlobalId<'tcx>,
    param_env: ParamEnv<'tcx>,
) -> Result<R, ErrorHandled>