]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/autoderef-method-twice.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / autoderef-method-twice.rs
index 94da61483eaaecf1f58f57996f2491c8b97a13ca..eb44e3b52b90f63815c9470ce6267a9c4622b1cd 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)]
+
 trait double {
     fn double(self: Box<Self>) -> uint;
 }