about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-02-21 18:53:30 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-02-27 19:25:17 +0000
commit0422f44dc475f60b9e9dbf5e0015abf9dcdffe44 (patch)
tree6e239354ad595252299a0695379346f0a96b23ef
parentdd582bd7db1645b643133ff5e3133e55de15d841 (diff)
downloadrust-0422f44dc475f60b9e9dbf5e0015abf9dcdffe44.tar.gz
rust-0422f44dc475f60b9e9dbf5e0015abf9dcdffe44.zip
Update MIR doc.
-rw-r--r--compiler/rustc_middle/src/mir/syntax.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_middle/src/mir/syntax.rs b/compiler/rustc_middle/src/mir/syntax.rs
index ae09562a85e..2a722c4c72e 100644
--- a/compiler/rustc_middle/src/mir/syntax.rs
+++ b/compiler/rustc_middle/src/mir/syntax.rs
@@ -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>)>),