Auto merge of #49758 - bjorn3:miri_public_write_discriminant_value, r=oli-obk

miri: Make write_discriminant_value public
This commit is contained in:
bors 2018-04-08 14:12:13 +00:00
commit 5f50718225

View File

@ -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,