Rustup to rustc 1.35.0-nightly (f8673e0ad 2019-04-03)

This commit is contained in:
Aaron Hill 2019-04-03 22:40:19 -04:00 committed by bjorn3
parent a78029945a
commit e6acbdc20a

View File

@ -309,7 +309,7 @@ fn codegen_fn_content<'a, 'tcx: 'a>(fx: &mut FunctionCx<'a, 'tcx, impl Backend>)
target,
unwind: _,
} => {
let ty = location.ty(fx.mir, fx.tcx).to_ty(fx.tcx);
let ty = location.ty(fx.mir, fx.tcx).ty;
let ty = fx.monomorphize(&ty);
let drop_fn = crate::rustc_mir::monomorphize::resolve_drop_in_place(fx.tcx, ty);