about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-07-21 12:02:28 +0200
committerRalf Jung <post@ralfj.de>2019-07-21 12:28:18 +0200
commit4b47e78a16524ed4878bfffaaf60c32bb18d88ae (patch)
treefbf72e621143ec1934805855dcd5255353b4a027 /src/liballoc
parentad261f6852c928d3ce0a6dd34ec6c3a38792e4de (diff)
downloadrust-4b47e78a16524ed4878bfffaaf60c32bb18d88ae.tar.gz
rust-4b47e78a16524ed4878bfffaaf60c32bb18d88ae.zip
use a const to hack around promotion limitations
Diffstat (limited to 'src/liballoc')
-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 68df0137ee6..dbc1f3b47c8 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -85,6 +85,7 @@
 #![feature(fmt_internals)]
 #![feature(fn_traits)]
 #![feature(fundamental)]
+#![feature(internal_uninit_const)]
 #![feature(lang_items)]
 #![feature(libc)]
 #![feature(nll)]