diff options
| author | bors <bors@rust-lang.org> | 2018-04-08 14:12:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-08 14:12:13 +0000 |
| commit | 5f50718225365f6b891e148387d7fd2f2fa41831 (patch) | |
| tree | 99ff65d6d137d714541ab298d6b0a58654359193 | |
| parent | beab37c90480eb3eee1d4b7b7ed03e95c92f72e5 (diff) | |
| parent | 2ff7e73cb50784814b1d89c618a1aeed567a9f70 (diff) | |
| download | rust-5f50718225365f6b891e148387d7fd2f2fa41831.tar.gz rust-5f50718225365f6b891e148387d7fd2f2fa41831.zip | |
Auto merge of #49758 - bjorn3:miri_public_write_discriminant_value, r=oli-obk
miri: Make write_discriminant_value public
| -rw-r--r-- | src/librustc_mir/interpret/eval_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
