]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/deriving-default-box.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / deriving-default-box.rs
index aea6ebd25975c2c93e85661b0aeb2c95eef01127..b00ceb6ed22c75b622f25e57b26278dfccd5d1bd 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)]
+
 use std::default::Default;
 
 #[derive(Default)]