]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/regions-borrow-uniq.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / regions-borrow-uniq.rs
index 36f7d88f7d79731fb4a29d2e8256b36b9df3142a..30a22512d2a7f2b0ddaa439998ff4df46a7492bf 100644 (file)
@@ -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 foo(x: &uint) -> uint {
     *x
 }