]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/regions-out-of-scope-slice.rs
Update comment in test which has changed its purpose
[rust.git] / src / test / ui / parser / regions-out-of-scope-slice.rs
index 2cc9b1ac45c7d91e67a26a0750ddad1202fcbf9d..21369d0be61b1f20badd9dbb1877ce9b40a84160 100644 (file)
@@ -1,8 +1,6 @@
-// blk region isn't supported in the front-end
+// This basically tests the parser's recovery on `'blk` in the wrong place.
 
 fn foo(cond: bool) {
-    // Here we will infer a type that uses the
-    // region of the if stmt then block, but in the scope:
     let mut x;
 
     if cond {