]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/deriving-eq-ord-boxed-slice.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / deriving-eq-ord-boxed-slice.rs
index 6701a321339382f4a503e351a8aa0e553711222f..3b89c943edb1c20f4f2cae307338e4699f4b7ee5 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)]
+
 #[derive(PartialEq, PartialOrd, Eq, Ord)]
 struct Foo(Box<[u8]>);