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>,
    typing_env: TypingEnv<'tcx>,
) -> Result<R, ErrorHandled>