]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/explicit-self-objects-uniq.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / explicit-self-objects-uniq.rs
index e566f218aa8f61b02486073e7774071f545be693..501ba01b4ce1c28d011b8427a06eaa274e879e2f 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)]
 
 trait Foo {
     fn f(self: Box<Self>);