about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-23 16:00:28 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-23 16:02:27 +0200
commit5682e2a1aac9566862fd255ce631c59946917d3f (patch)
tree133255cccbc57930f60da073ccb71f6b10f0fa2c /src
parent225298c3771f43582df603a137554d997a60592e (diff)
downloadrust-5682e2a1aac9566862fd255ce631c59946917d3f.tar.gz
rust-5682e2a1aac9566862fd255ce631c59946917d3f.zip
fix pretty printing tests by opting into the features that the expanded code needs.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/new-box-syntax.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-pass/new-box-syntax.rs b/src/test/run-pass/new-box-syntax.rs
index 8cf3bcbb678..da57e8682ca 100644
--- a/src/test/run-pass/new-box-syntax.rs
+++ b/src/test/run-pass/new-box-syntax.rs
@@ -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};