From dd21922f31c3dcaeb6f5ba0fea26c988b676346a Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 18 Apr 2019 19:06:59 +0200 Subject: [PATCH] Rustup to rustc 1.36.0-nightly (3c3d3c177 2019-04-17) --- src/constant.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/constant.rs b/src/constant.rs index 738349275b8..13036cc121d 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -407,12 +407,12 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter { Cow::Borrowed(alloc) } - fn tag_new_allocation( - _: &mut InterpretCx<'a, 'mir, 'tcx, Self>, - ptr: Pointer, + fn new_allocation( + _: Size, + _: &(), _: MemoryKind, - ) -> Pointer { - ptr + ) -> ((), ()) { + ((), ()) } fn stack_push(_: &mut InterpretCx<'a, 'mir, 'tcx, Self>) -> EvalResult<'tcx> {