mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
Rustup to rustc 1.44.0-nightly (76b11980a
2020-04-01)
This commit is contained in:
parent
5958355ef1
commit
786c7d8d8c
@ -1 +1 @@
|
||||
nightly-2020-03-31
|
||||
nightly-2020-04-02
|
||||
|
@ -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)>,
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user