miri: Make write_discriminant_value public
This commit is contained in:
parent
e0a9bd0f3c
commit
2ff7e73cb5
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue