]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/objects-owned-object-owned-method.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / objects-owned-object-owned-method.rs
index 14ddc5d660f0cea9d71ab409c065643ce2aa3c2e..d355999c506068115f15991eab5a3a4ae0d93acc 100644 (file)
@@ -12,6 +12,8 @@
 // closed over contain managed values. This implies that the boxes
 // will have headers that must be skipped over.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 trait FooTrait {
     fn foo(self: Box<Self>) -> uint;