about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-02-11 17:14:37 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-02-18 21:35:02 +0000
commitfb1f7f747a48a87015a46e90814619a4efd12d75 (patch)
tree244c9c98e21b54a23ed390cd894e457b41a33573
parent085eaa7ee303d487dc254bca2a402284450e163e (diff)
downloadrust-fb1f7f747a48a87015a46e90814619a4efd12d75.tar.gz
rust-fb1f7f747a48a87015a46e90814619a4efd12d75.zip
Remove exception from 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 badf33293ad..288488e4582 100644
--- a/compiler/rustc_middle/src/mir/syntax.rs
+++ b/compiler/rustc_middle/src/mir/syntax.rs
@@ -1108,10 +1108,6 @@ pub enum Rvalue<'tcx> {
 
     /// Same as `BinaryOp`, but yields `(T, bool)` with a `bool` indicating an error condition.
     ///
-    /// When overflow checking is disabled and we are generating run-time code, the error condition
-    /// is false. Otherwise, and always during CTFE, the error condition is determined as described
-    /// below.
-    ///
     /// For addition, subtraction, and multiplication on integers the error condition is set when
     /// the infinite precision result would be unequal to the actual result.
     ///