We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfae4de commit ee98323Copy full SHA for ee98323
src/librustc_const_math/int.rs
@@ -503,7 +503,7 @@ impl ::std::ops::Shr<ConstInt> for ConstInt {
503
I8(a) => Ok(I8(overflowing!(a.overflowing_shr(b), Op::Shr))),
504
I16(a) => Ok(I16(overflowing!(a.overflowing_shr(b), Op::Shr))),
505
I32(a) => Ok(I32(overflowing!(a.overflowing_shr(b), Op::Shr))),
506
- I64(a) => Ok(I64(overflowing!(a.overflowing_shr(b), Op::Shl))),
+ I64(a) => Ok(I64(overflowing!(a.overflowing_shr(b), Op::Shr))),
507
Isize(Is32(a)) => Ok(Isize(Is32(overflowing!(a.overflowing_shr(b), Op::Shr)))),
508
Isize(Is64(a)) => Ok(Isize(Is64(overflowing!(a.overflowing_shr(b), Op::Shr)))),
509
U8(a) => Ok(U8(overflowing!(a.overflowing_shr(b), Op::Shr))),
0 commit comments