Make mk_eval_cx private to const eval

This commit is contained in:
Oliver Scherer 2019-01-08 10:54:40 +01:00
parent 14e662d8c5
commit cea282bcfd

View File

@ -70,7 +70,7 @@ fn mk_eval_cx_inner<'a, 'mir, 'tcx>(
Ok(ecx)
}
pub fn mk_eval_cx<'a, 'tcx>(
fn mk_eval_cx<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
instance: Instance<'tcx>,
param_env: ty::ParamEnv<'tcx>,