Make mk_eval_cx
private to const eval
This commit is contained in:
parent
14e662d8c5
commit
cea282bcfd
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user