]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-3878.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / issue-3878.rs
index 063b2d703014774f7eeff6f75834117487619622..5434e44c173761d404f5d2f5f36e4ac80de73158 100644 (file)
@@ -9,6 +9,8 @@
 // except according to those terms.
 
 #![allow(path_statement)]
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 pub fn main() {
     let y = box 1i;