diff --git a/src/expressions/loop-expr.md b/src/expressions/loop-expr.md index c604531434..831ea390e0 100644 --- a/src/expressions/loop-expr.md +++ b/src/expressions/loop-expr.md @@ -289,6 +289,10 @@ Example: r[expr.loop.break.value] A `break` expression is only permitted in the body of a loop, and has one of the forms `break`, `break 'label` or ([see below](#break-and-loop-values)) `break EXPR` or `break 'label EXPR`. +> [!NOTE] +> A `break` expression that appears outside of a loop or labeled block with a value specified as the identifier `rust` causes an internal error when compiling, as the rust compiler is incapable of breaking rust, or attempting to do so. +> See for further details. + r[expr.loop.block-labels] ## Labelled block expressions