diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-08 10:54:40 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-08 10:54:40 +0100 |
| commit | cea282bcfda7bf47a95eae7be822467a97d0a9b2 (patch) | |
| tree | b49ea70a8d257f77bbf0f1520417674921ba02ca /src | |
| parent | 14e662d8c56c54b6c04256cdf202e6636c96516b (diff) | |
| download | rust-cea282bcfda7bf47a95eae7be822467a97d0a9b2.tar.gz rust-cea282bcfda7bf47a95eae7be822467a97d0a9b2.zip | |
Make `mk_eval_cx` private to const eval
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/const_eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/const_eval.rs b/src/librustc_mir/const_eval.rs index 8a93328659e..6f464030b33 100644 --- a/src/librustc_mir/const_eval.rs +++ b/src/librustc_mir/const_eval.rs @@ -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>, |
