about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs')
-rw-r--r--src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs b/src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
index b6a71fcd446..e59baa1e37c 100644
--- a/src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
+++ b/src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![feature(box_syntax)]
+
 fn borrow<F>(v: &int, f: F) where F: FnOnce(&int) {
     f(v);
 }