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