Skip to content

Commit 2ff7e73

Browse files
authored
miri: Make write_discriminant_value public
1 parent e0a9bd0 commit 2ff7e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/eval_context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M
893893
}
894894

895895

896-
pub(crate) fn write_discriminant_value(
896+
pub fn write_discriminant_value(
897897
&mut self,
898898
dest_ty: Ty<'tcx>,
899899
dest: Place,

0 commit comments

Comments
 (0)