about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-array-double-move.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-array-double-move.rs')
-rw-r--r--src/test/compile-fail/borrowck-array-double-move.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/borrowck-array-double-move.rs b/src/test/compile-fail/borrowck-array-double-move.rs
index c872d0dc4b9..ef2c629acfe 100644
--- a/src/test/compile-fail/borrowck-array-double-move.rs
+++ b/src/test/compile-fail/borrowck-array-double-move.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 fn f() {
     let mut a = [box 0i, box 1i];
     drop(a[0]);