about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-12 02:14:47 +0000
committerbors <bors@rust-lang.org>2018-10-12 02:14:47 +0000
commit567557f630693d47fd21151ff1fdbc430e330a13 (patch)
tree4b9bd3b1eb69b3c10dec3f329fc9bdb3b2778cb8 /src/liballoc/lib.rs
parent77af314083e5acabf9ba5335e47271f35eef2e99 (diff)
parente4434be6b7caa1261fa1500d321c20a59f9953b1 (diff)
downloadrust-567557f630693d47fd21151ff1fdbc430e330a13.tar.gz
rust-567557f630693d47fd21151ff1fdbc430e330a13.zip
Auto merge of #54924 - RalfJung:use-maybe-uninit2, r=cramertj
Use MaybeUninit in liballoc

All code by @japaric. This is a re-submission of a part of https://github.com/rust-lang/rust/pull/53508 that hopefully does not regress performance.
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 78d1958b8fb..987572e6b74 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -119,6 +119,7 @@
 #![feature(rustc_const_unstable)]
 #![feature(const_vec_new)]
 #![feature(slice_partition_dedup)]
+#![feature(maybe_uninit)]
 
 // Allow testing this library