From 2ff7e73cb50784814b1d89c618a1aeed567a9f70 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 7 Apr 2018 14:39:24 +0200 Subject: [PATCH] miri: Make write_discriminant_value public --- src/librustc_mir/interpret/eval_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/eval_context.rs b/src/librustc_mir/interpret/eval_context.rs index cf3241fe9be..3220d4d96b3 100644 --- a/src/librustc_mir/interpret/eval_context.rs +++ b/src/librustc_mir/interpret/eval_context.rs @@ -893,7 +893,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M } - pub(crate) fn write_discriminant_value( + pub fn write_discriminant_value( &mut self, dest_ty: Ty<'tcx>, dest: Place,