Skip to content

Commit

Permalink
Make mk_eval_cx private to const eval
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jan 8, 2019
1 parent 14e662d commit cea282b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit cea282b

Please sign in to comment.