about summary refs log tree commit diff
path: root/src/test/ui/array-break-length.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/array-break-length.rs')
-rw-r--r--src/test/ui/array-break-length.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/array-break-length.rs b/src/test/ui/array-break-length.rs
index 959f4a2babb..60589f7c264 100644
--- a/src/test/ui/array-break-length.rs
+++ b/src/test/ui/array-break-length.rs
@@ -1,11 +1,9 @@
 fn main() {
     loop {
         |_: [_; break]| {} //~ ERROR: `break` outside of a loop
-        //~^ ERROR mismatched types
     }
 
     loop {
         |_: [_; continue]| {} //~ ERROR: `continue` outside of a loop
-        //~^ ERROR mismatched types
     }
 }