about summary refs log tree commit diff
path: root/src/test/ui/closures/closure-array-break-length.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/closures/closure-array-break-length.rs')
-rw-r--r--src/test/ui/closures/closure-array-break-length.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/closures/closure-array-break-length.rs b/src/test/ui/closures/closure-array-break-length.rs
deleted file mode 100644
index fda590fda02..00000000000
--- a/src/test/ui/closures/closure-array-break-length.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-fn main() {
-    |_: [_; continue]| {}; //~ ERROR: `continue` outside of a loop
-
-    while |_: [_; continue]| {} {} //~ ERROR: `continue` outside of a loop
-
-    while |_: [_; break]| {} {} //~ ERROR: `break` outside of a loop
-}