about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-09-05 07:03:02 -0700
committerEsteban Küber <esteban@kuber.com.ar>2018-09-05 07:03:02 -0700
commitb2d2d837235d0b06e56bb3191aff7ae358ac6018 (patch)
treee625de749e2022a378c05dea1cbfb5ed8ee60679 /src/test/parse-fail
parent008aa5a24e152691d852bd9f0a2990b6e4377397 (diff)
downloadrust-b2d2d837235d0b06e56bb3191aff7ae358ac6018.tar.gz
rust-b2d2d837235d0b06e56bb3191aff7ae358ac6018.zip
Fix existing test
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/issue-2354.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/test/parse-fail/issue-2354.rs b/src/test/parse-fail/issue-2354.rs
deleted file mode 100644
index 2e799a72c81..00000000000
--- a/src/test/parse-fail/issue-2354.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// compile-flags: -Z parse-only
-
-fn foo() { //~ HELP did you mean to close this delimiter?
-  match Some(x) {
-      Some(y) => { panic!(); }
-      None => { panic!(); }
-}
-
-fn bar() {
-    let mut i = 0;
-    while (i < 1000) {}
-}
-
-fn main() {} //~ ERROR this file contains an un-closed delimiter