We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd582bd commit 0422f44Copy full SHA for 0422f44
compiler/rustc_middle/src/mir/syntax.rs
@@ -1112,10 +1112,6 @@ pub enum Rvalue<'tcx> {
1112
/// For addition, subtraction, and multiplication on integers the error condition is set when
1113
/// the infinite precision result would be unequal to the actual result.
1114
///
1115
- /// For shift operations on integers the error condition is set when the value of right-hand
1116
- /// side is greater than or equal to the number of bits in the type of the left-hand side, or
1117
- /// when the value of right-hand side is negative.
1118
- ///
1119
/// Other combinations of types and operators are unsupported.
1120
CheckedBinaryOp(BinOp, Box<(Operand<'tcx>, Operand<'tcx>)>),
1121
0 commit comments