We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dbcb5 commit d0cc00fCopy full SHA for d0cc00f
compiler/rustc_middle/src/mir/syntax.rs
@@ -671,6 +671,9 @@ pub enum TerminatorKind<'tcx> {
671
/// as parameters, and `None` for the destination. Keep in mind that the `cleanup` path is not
672
/// necessarily executed even in the case of a panic, for example in `-C panic=abort`. If the
673
/// assertion does not fail, execution continues at the specified basic block.
674
+ ///
675
+ /// When overflow checking is disabled and we are generating run-time code, the `Overflow*`
676
+ /// variants of this terminator are codegened as simple `goto target`.
677
Assert {
678
cond: Operand<'tcx>,
679
expected: bool,
0 commit comments