]> git.lizzy.rs Git - rust.git/commitdiff
Add new feature gate opt-in necessary for `new-box-syntax.rs`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 21 Jul 2015 12:32:33 +0000 (14:32 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 22 Jul 2015 13:34:00 +0000 (15:34 +0200)
src/test/run-pass/new-box-syntax.rs

index b5a54a90ae758ef778d7ebbbdb372b45819f21b5..d2ebd6863fa6d6a95a66108eb87e27b0622c02c9 100644 (file)
@@ -15,6 +15,7 @@
 
 #![allow(warnings)]
 #![feature(box_syntax, box_heap)]
+#![feature(placement_in_syntax)]
 
 // Tests that the new `box` syntax works with unique pointers.