Skip to content

Commit 5682e2a

Browse files
committed
fix pretty printing tests by opting into the features that the expanded code needs.
1 parent 225298c commit 5682e2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/run-pass/new-box-syntax.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#![feature(box_syntax, box_heap)]
1818
#![feature(placement_in_syntax)]
1919

20+
// during check-pretty, the expanded code needs to opt into these
21+
// features
22+
#![feature(placement_new_protocol, core_intrinsics)]
23+
2024
// Tests that the new `box` syntax works with unique pointers.
2125

2226
use std::boxed::{Box, HEAP};

0 commit comments

Comments
 (0)