about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-05 23:53:48 +0000
committerbors <bors@rust-lang.org>2015-08-05 23:53:48 +0000
commit4f33e43cbceb60ec85bb5140bd5470965ea92d16 (patch)
treed8979cd7743b62071ed28713321e4f6d4f85d99c /src
parenta0eb7a2c6da31b44718188002ac0cec12a3c86ee (diff)
parentb5a782750592c855c4a57821d3704089af5eaf2b (diff)
downloadrust-4f33e43cbceb60ec85bb5140bd5470965ea92d16.tar.gz
rust-4f33e43cbceb60ec85bb5140bd5470965ea92d16.zip
Auto merge of #27505 - steveklabnik:exterminate_exterminate, r=brson
These are for syntaxes that haven't existed for a long time.
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/array-old-syntax-2.rs15
-rw-r--r--src/test/parse-fail/array-old-syntax-1.rs17
-rw-r--r--src/test/parse-fail/trait-keyword.rs15
3 files changed, 0 insertions, 47 deletions
diff --git a/src/test/compile-fail/array-old-syntax-2.rs b/src/test/compile-fail/array-old-syntax-2.rs
deleted file mode 100644
index 99ff3ae29f1..00000000000
--- a/src/test/compile-fail/array-old-syntax-2.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2014 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.
-
-// Test that the old repeating array syntax gives an error.
-
-fn main() {
-    let _ = [0, ..3]; //~ ERROR
-}
diff --git a/src/test/parse-fail/array-old-syntax-1.rs b/src/test/parse-fail/array-old-syntax-1.rs
deleted file mode 100644
index 78dcf2e2e2e..00000000000
--- a/src/test/parse-fail/array-old-syntax-1.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 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
-
-// Test that the old fixed length array syntax is a parsing error.
-
-fn main() {
-    let _x: [isize, ..3] = [0, 1, 2]; //~ ERROR
-}
diff --git a/src/test/parse-fail/trait-keyword.rs b/src/test/parse-fail/trait-keyword.rs
deleted file mode 100644
index faaa0525f9d..00000000000
--- a/src/test/parse-fail/trait-keyword.rs
+++ /dev/null
@@ -1,15 +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
-
-iface foo { } //~ ERROR iface
-
-fn main() {}