Compute unsizing casts in GVN.
This commit is contained in:
parent
1f544ca0cc
commit
304b4ad8b9
7 changed files with 33 additions and 21 deletions
|
@ -415,7 +415,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
}
|
||||
}
|
||||
|
||||
fn unsize_into(
|
||||
pub fn unsize_into(
|
||||
&mut self,
|
||||
src: &OpTy<'tcx, M::Provenance>,
|
||||
cast_ty: TyAndLayout<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue