Skip to content

Commit 50cf102

Browse files
committed
Change function visibility to pub
1 parent 94015d3 commit 50cf102

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: compiler/rustc_const_eval/src/interpret/eval_context.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
268268

269269
/// Call this on things you got out of the MIR (so it is as generic as the current
270270
/// stack frame), to bring it into the proper environment for this interpreter.
271-
pub(super) fn instantiate_from_current_frame_and_normalize_erasing_regions<
271+
pub fn instantiate_from_current_frame_and_normalize_erasing_regions<
272272
T: TypeFoldable<TyCtxt<'tcx>>,
273273
>(
274274
&self,
@@ -279,9 +279,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
279279

280280
/// Call this on things you got out of the MIR (so it is as generic as the provided
281281
/// stack frame), to bring it into the proper environment for this interpreter.
282-
pub(super) fn instantiate_from_frame_and_normalize_erasing_regions<
283-
T: TypeFoldable<TyCtxt<'tcx>>,
284-
>(
282+
pub fn instantiate_from_frame_and_normalize_erasing_regions<T: TypeFoldable<TyCtxt<'tcx>>>(
285283
&self,
286284
frame: &Frame<'tcx, M::Provenance, M::FrameExtra>,
287285
value: T,

0 commit comments

Comments
 (0)