]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/overloaded-autoderef.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / overloaded-autoderef.rs
index 949a7b158d41c0124eace0fc9145c4e014ae2447..5831d500b83934497046f7a6ea397c1e1dddff1f 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)]
+
 use std::cell::RefCell;
 use std::rc::Rc;
 use std::num::ToPrimitive;