]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/overloaded-index-autoderef.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / overloaded-index-autoderef.rs
index bc67c0afc7b520d5f6e2b87d28f9bfad4ec865d3..637d2c94694455d84aa64eccca52791000e13061 100644 (file)
@@ -10,6 +10,9 @@
 
 // Test overloaded indexing combined with autoderef.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 use std::ops::{Index, IndexMut};
 
 struct Foo {