Skip to content

Commit 1c9d889

Browse files
oli-obkRalfJung
andauthored
Review nit
Co-Authored-By: Ralf Jung <[email protected]>
1 parent 94a6d4b commit 1c9d889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
249249
let usize_layout = self.layout_of(self.tcx.types.usize)?;
250250
let a_offset = ImmTy::from_uint(a.offset.bytes(), usize_layout);
251251
let b_offset = ImmTy::from_uint(b.offset.bytes(), usize_layout);
252-
let (val, _overflowed, _) = self.overflowing_binary_op(
252+
let (val, _overflowed, _ty) = self.overflowing_binary_op(
253253
BinOp::Sub, a_offset, b_offset,
254254
)?;
255255
let pointee_layout = self.layout_of(substs.type_at(0))?;

0 commit comments

Comments
 (0)