Skip to content

Commit e6acbdc

Browse files
Aaron1011bjorn3
authored andcommitted
Rustup to rustc 1.35.0-nightly (f8673e0 2019-04-03)
1 parent a780299 commit e6acbdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fn codegen_fn_content<'a, 'tcx: 'a>(fx: &mut FunctionCx<'a, 'tcx, impl Backend>)
309309
target,
310310
unwind: _,
311311
} => {
312-
let ty = location.ty(fx.mir, fx.tcx).to_ty(fx.tcx);
312+
let ty = location.ty(fx.mir, fx.tcx).ty;
313313
let ty = fx.monomorphize(&ty);
314314
let drop_fn = crate::rustc_mir::monomorphize::resolve_drop_in_place(fx.tcx, ty);
315315

0 commit comments

Comments
 (0)