]> git.lizzy.rs Git - rust.git/commitdiff
fix pretty printing tests by opting into the features that the expanded code needs.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 23 Jul 2015 14:00:28 +0000 (16:00 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 23 Jul 2015 14:02:27 +0000 (16:02 +0200)
src/test/run-pass/new-box-syntax.rs

index 8cf3bcbb6781a2acc9eb312a33a779e804b68008..da57e8682ca602b0e11183da4f669081e1490dbe 100644 (file)
 #![feature(box_syntax, box_heap)]
 #![feature(placement_in_syntax)]
 
+// during check-pretty, the expanded code needs to opt into these
+// features
+#![feature(placement_new_protocol, core_intrinsics)]
+
 // Tests that the new `box` syntax works with unique pointers.
 
 use std::boxed::{Box, HEAP};