about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-23 15:59:58 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-23 16:02:26 +0200
commit225298c3771f43582df603a137554d997a60592e (patch)
tree6446c32c7245a3c0f2c73b40a45b1eaa23f1efff /src/liballoc
parent73df224f0559e31e6d4623978cf25ada9ba1e2d8 (diff)
downloadrust-225298c3771f43582df603a137554d997a60592e.tar.gz
rust-225298c3771f43582df603a137554d997a60592e.zip
fix doc-tests by opting into `placement_in_syntax` feature where necessary.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 4b571a43627..acf22094233 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -75,7 +75,7 @@ use core::raw::{TraitObject};
 ///
 /// ```
 /// # #![feature(box_heap)]
-/// #![feature(box_syntax)]
+/// #![feature(box_syntax, placement_in_syntax)]
 /// use std::boxed::HEAP;
 ///
 /// fn main() {