fix pretty printing tests by opting into the features that the expanded code needs.

This commit is contained in:
Felix S. Klock II 2015-07-23 16:00:28 +02:00
parent 225298c377
commit 5682e2a1aa

View File

@ -17,6 +17,10 @@
#![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};