]> git.lizzy.rs Git - rust.git/commitdiff
Rustup to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)
authorbjorn3 <bjorn3@users.noreply.github.com>
Fri, 14 Feb 2020 17:20:34 +0000 (18:20 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Fri, 14 Feb 2020 17:20:34 +0000 (18:20 +0100)
patches/0017-Fix-libtest-compilation.patch
rust-toolchain
src/base.rs
src/constant.rs

index 5299fb2b46505cf8fa351032ba137b15ca2daf11..12dac18f3fa3313fe5718afdb499522141a9f92d 100644 (file)
@@ -17,9 +17,9 @@ index 8b76080..9e65de2 100644
      io::prelude::Write,
 -    panic::{self, catch_unwind, AssertUnwindSafe, PanicInfo},
 +    panic::{self, PanicInfo},
-     process,
-     process::{Command, Termination},
+     process::{self, Command, Termination},
      sync::mpsc::{channel, Sender},
+     sync::{Arc, Mutex},
 @@ -1493,7 +1493,7 @@ pub fn run_test(
      fn run_test_inner(
          desc: TestDesc,
index 2580eba6f2668ec44451dc53ccef3eca5f6a02e3..b17bee1216ceb5e8736e8df5ff307b7709ebf0f9 100644 (file)
@@ -1 +1 @@
-nightly-2020-02-07
+nightly-2020-02-14
index 5860e3121b47ac0f8fd25e51d6d8171395e0281a..a0add9b202f19785b1a6853ebee09bb091cd0808 100644 (file)
@@ -190,7 +190,7 @@ fn codegen_fn_content(fx: &mut FunctionCx<'_, '_, impl Backend>) {
                 cleanup: _,
             } => {
                 if !fx.tcx.sess.overflow_checks() {
-                    if let mir::interpret::PanicInfo::OverflowNeg = *msg {
+                    if let mir::AssertKind::OverflowNeg = *msg {
                         let target = fx.get_ebb(*target);
                         fx.bcx.ins().jump(target, &[]);
                         continue;
index b6b43526c7248eb517b1ff06dba9287fc5d73a4a..c0e2770361c7aee3fd23c4d7b764909077802051 100644 (file)
@@ -7,7 +7,7 @@
 };
 use rustc::ty::{layout::Align, Const, ConstKind};
 use rustc_mir::interpret::{
-    ImmTy, InterpCx, Machine, Memory, MemoryKind, OpTy, PanicInfo, PlaceTy, Pointer,
+    ImmTy, InterpCx, Machine, Memory, MemoryKind, OpTy, PlaceTy, Pointer,
     StackPopCleanup, StackPopInfo,
 };
 
@@ -525,7 +525,7 @@ fn stack_pop(_: &mut InterpCx<'mir, 'tcx, Self>, _: (), _: bool) -> InterpResult
     fn assert_panic(
         _: &mut InterpCx<'mir, 'tcx, Self>,
         _: Span,
-        _: &PanicInfo<Operand<'tcx>>,
+        _: &mir::AssertKind<Operand<'tcx>>,
         _: Option<BasicBlock>,
     ) -> InterpResult<'tcx> {
         unreachable!()