From 5682e2a1aac9566862fd255ce631c59946917d3f Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 23 Jul 2015 16:00:28 +0200 Subject: [PATCH] fix pretty printing tests by opting into the features that the expanded code needs. --- src/test/run-pass/new-box-syntax.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/run-pass/new-box-syntax.rs b/src/test/run-pass/new-box-syntax.rs index 8cf3bcbb6781..da57e8682ca6 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};