]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/move-arg-2.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / move-arg-2.rs
index 0f3d0baecbe513b729db18e528c0ea7a20c798e1..fdb6799b90f793cb9857007e3030c98666eef39e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 fn test(foo: Box<Vec<int>>) { assert!(((*foo)[0] == 10)); }