about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-07-02 19:00:07 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-08-07 14:41:33 +0200
commit3ef863bfdfb9173a0ad55d24e20202948dda6bbe (patch)
tree88363d22f4c514b1b5ca7f7e086258506096d306 /src/libcore/lib.rs
parent9e472c2acea2b7714985390abb6b7fe420a4f346 (diff)
downloadrust-3ef863bfdfb9173a0ad55d24e20202948dda6bbe.tar.gz
rust-3ef863bfdfb9173a0ad55d24e20202948dda6bbe.zip
Place unions, pointer casts and pointer derefs behind extra feature gates
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index a4a01990c22..dc4a2d7c0d7 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -82,6 +82,7 @@
 #![feature(concat_idents)]
 #![feature(const_fn)]
 #![feature(const_int_ops)]
+#![feature(const_fn_union)]
 #![feature(custom_attribute)]
 #![feature(doc_cfg)]
 #![feature(doc_spotlight)]