]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/close-over-big-then-small-data.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / close-over-big-then-small-data.rs
index 375767c8f5157c820312cf0fb811b8449eeabb5e..99fdc34602617bb2ecc7f77bd3a70c519a8c00ba 100644 (file)
@@ -12,6 +12,9 @@
 // storing closure data (as we used to do), the u64 would
 // overwrite the u16.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 struct Pair<A,B> {
     a: A, b: B
 }