]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/vector-no-ann-2.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / vector-no-ann-2.rs
index ba66a448c2509f4af7487b3c41de728e5519b502..6391893b9a4845c09475c4608965466935163ec4 100644 (file)
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 pub fn main() { let _quux: Box<Vec<uint>> = box Vec::new(); }