Rustup to rustc 1.44.0-nightly (76b11980a 2020-04-01)

This commit is contained in:
bjorn3 2020-04-02 14:27:51 +02:00
parent 5958355ef1
commit 786c7d8d8c
3 changed files with 2 additions and 5 deletions

View File

@ -1 +1 @@
nightly-2020-03-31
nightly-2020-04-02

View File

@ -171,7 +171,6 @@ fn trans_const_place<'tcx>(
);
ecx.push_stack_frame(
fx.instance,
DUMMY_SP,
fx.mir,
None,
StackPopCleanup::None { cleanup: false },
@ -412,7 +411,6 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
fn find_mir_or_eval_fn(
_: &mut InterpCx<'mir, 'tcx, Self>,
_: Span,
_: Instance<'tcx>,
_: &[OpTy<'tcx>],
_: Option<(PlaceTy<'tcx>, BasicBlock)>,
@ -423,7 +421,6 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for TransPlaceInterpreter {
fn call_intrinsic(
_: &mut InterpCx<'mir, 'tcx, Self>,
_: Span,
_: Instance<'tcx>,
_: &[OpTy<'tcx>],
_: Option<(PlaceTy<'tcx>, BasicBlock)>,

View File

@ -144,7 +144,7 @@ fn lane_type_and_count<'tcx>(
) -> (TyAndLayout<'tcx>, u16) {
assert!(layout.ty.is_simd());
let lane_count = match layout.fields {
layout::FieldPlacement::Array { stride: _, count } => u16::try_from(count).unwrap(),
layout::FieldsShape::Array { stride: _, count } => u16::try_from(count).unwrap(),
_ => unreachable!("lane_type_and_count({:?})", layout),
};
let lane_layout = layout.field(&ty::layout::LayoutCx {