Rustup to rustc 1.38.0-nightly (6e0d27d93 2019-08-03)

This commit is contained in:
bjorn3 2019-08-04 13:42:40 +02:00
parent fb3fa677fa
commit a1dd460714

View file

@ -5,7 +5,7 @@ use rustc::mir::interpret::{
};
use rustc::ty::{Const, layout::Align};
use rustc_mir::interpret::{
InterpCx, ImmTy, Machine, Memory, MemoryKind, OpTy, PlaceTy,
InterpCx, ImmTy, Machine, Memory, MemoryKind, OpTy, PlaceTy, Pointer,
StackPopCleanup,
};
@ -378,7 +378,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
panic!();
}
fn ptr_op(
fn binary_ptr_op(
_: &InterpCx<'mir, 'tcx, Self>,
_: mir::BinOp,
_: ImmTy<'tcx>,
@ -387,6 +387,13 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
panic!();
}
fn ptr_to_int(
_: &Memory<'mir, 'tcx, Self>,
_: Pointer<()>,
) -> InterpResult<'tcx, u64> {
panic!();
}
fn box_alloc(_: &mut InterpCx<'mir, 'tcx, Self>, _: PlaceTy<'tcx>) -> InterpResult<'tcx> {
panic!();
}