Skip to content

Commit dd21922

Browse files
committed
Rustup to rustc 1.36.0-nightly (3c3d3c177 2019-04-17)
1 parent 96a3f5d commit dd21922

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/constant.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,12 @@ impl<'a, 'mir, 'tcx> Machine<'a, 'mir, 'tcx> for TransPlaceInterpreter {
407407
Cow::Borrowed(alloc)
408408
}
409409

410-
fn tag_new_allocation(
411-
_: &mut InterpretCx<'a, 'mir, 'tcx, Self>,
412-
ptr: Pointer,
410+
fn new_allocation(
411+
_: Size,
412+
_: &(),
413413
_: MemoryKind<!>,
414-
) -> Pointer {
415-
ptr
414+
) -> ((), ()) {
415+
((), ())
416416
}
417417

418418
fn stack_push(_: &mut InterpretCx<'a, 'mir, 'tcx, Self>) -> EvalResult<'tcx> {

0 commit comments

Comments
 (0)