summaryrefslogtreecommitdiffstats
path: root/src/test/ui/closures/closure-array-break-length.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/closures/closure-array-break-length.stderr')
-rw-r--r--src/test/ui/closures/closure-array-break-length.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/closures/closure-array-break-length.stderr b/src/test/ui/closures/closure-array-break-length.stderr
index 2b8ab9bfc..7e0b0027a 100644
--- a/src/test/ui/closures/closure-array-break-length.stderr
+++ b/src/test/ui/closures/closure-array-break-length.stderr
@@ -10,11 +10,11 @@ error[E0268]: `continue` outside of a loop
LL | while |_: [_; continue]| {} {}
| ^^^^^^^^ cannot `continue` outside of a loop
-error[E0268]: `break` outside of a loop
+error[E0268]: `break` outside of a loop or labeled block
--> $DIR/closure-array-break-length.rs:6:19
|
LL | while |_: [_; break]| {} {}
- | ^^^^^ cannot `break` outside of a loop
+ | ^^^^^ cannot `break` outside of a loop or labeled block
error: aborting due to 3 previous errors