1 parent d6c5a04 commit c561d23Copy full SHA for c561d23
1 file changed
src/librustc_mir/interpret/operator.rs
@@ -401,7 +401,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
401
(truncated, overflow || self.sign_extend(truncated, layout) != res)
402
}
403
};
404
- // res needs tuncating
405
Ok((Scalar::from_uint(res, layout.size), overflow, layout.ty))
406
407
0 commit comments