about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-11-28 21:35:03 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2019-12-01 12:54:57 +0100
commitf0bb30f8a1ac6107555dfc8fe830d42f469af7f8 (patch)
tree368d2fd99bec373a4abbae58bb20a1756bf28977
parent65f69d10853be9e386749b08c26abd4e84193f25 (diff)
downloadrust-f0bb30f8a1ac6107555dfc8fe830d42f469af7f8.tar.gz
rust-f0bb30f8a1ac6107555dfc8fe830d42f469af7f8.zip
Rustup to rustc 1.41.0-nightly (25d8a9494 2019-11-29)
-rw-r--r--src/constant.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/constant.rs b/src/constant.rs
index 1f0a39540d1..ab099292bf4 100644
--- a/src/constant.rs
+++ b/src/constant.rs
@@ -411,8 +411,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
         _: &mut InterpCx<'mir, 'tcx, Self>,
         _: Instance<'tcx>,
         _: &[OpTy<'tcx>],
-        _: Option<PlaceTy<'tcx>>,
-        _: Option<BasicBlock>,
+        _: Option<(PlaceTy<'tcx>, BasicBlock)>,
         _: Option<BasicBlock>,
     ) -> InterpResult<'tcx, Option<&'mir Body<'tcx>>> {
         panic!();
@@ -423,8 +422,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
         _: Span,
         _: Instance<'tcx>,
         _: &[OpTy<'tcx>],
-        _: Option<PlaceTy<'tcx>>,
-        _: Option<BasicBlock>,
+        _: Option<(PlaceTy<'tcx>, BasicBlock)>,
         _: Option<BasicBlock>,
     ) -> InterpResult<'tcx> {
         panic!();
@@ -468,7 +466,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
         _: &mut InterpCx<'mir, 'tcx, Self>,
         _: !,
         _: &[OpTy<'tcx, ()>],
-        _: Option<PlaceTy<'tcx, ()>>,
+        _: Option<(PlaceTy<'tcx, ()>, BasicBlock)>,
         _: Option<BasicBlock>,
     ) -> InterpResult<'tcx> {
         unreachable!();