about summary refs log tree commit diff
path: root/src/test/compile-fail
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/test/compile-fail
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/test/compile-fail')
-rw-r--r--src/test/compile-fail/array-old-syntax-2.rs15
1 files changed, 0 insertions, 15 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
-}