Skip to content

Commit

Permalink
Update MIR doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Feb 27, 2023
1 parent dd582bd commit 0422f44
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/rustc_middle/src/mir/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1112,10 +1112,6 @@ pub enum Rvalue<'tcx> {
/// For addition, subtraction, and multiplication on integers the error condition is set when
/// the infinite precision result would be unequal to the actual result.
///
/// For shift operations on integers the error condition is set when the value of right-hand
/// side is greater than or equal to the number of bits in the type of the left-hand side, or
/// when the value of right-hand side is negative.
///
/// Other combinations of types and operators are unsupported.
CheckedBinaryOp(BinOp, Box<(Operand<'tcx>, Operand<'tcx>)>),

Expand Down

0 comments on commit 0422f44

Please sign in to comment.