Skip to content

Commit cea282b

Browse files
committed
Make mk_eval_cx private to const eval
1 parent 14e662d commit cea282b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/const_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fn mk_eval_cx_inner<'a, 'mir, 'tcx>(
7070
Ok(ecx)
7171
}
7272

73-
pub fn mk_eval_cx<'a, 'tcx>(
73+
fn mk_eval_cx<'a, 'tcx>(
7474
tcx: TyCtxt<'a, 'tcx, 'tcx>,
7575
instance: Instance<'tcx>,
7676
param_env: ty::ParamEnv<'tcx>,

0 commit comments

Comments
 (0)