summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Rakic <remy.rakic@gmail.com>2019-12-05 15:01:30 +0100
committerRemy Rakic <remy.rakic@gmail.com>2019-12-05 15:01:30 +0100
commitbc0df79db39c00cdb7dae4b6aff62ff9f2efc405 (patch)
treea3d36dc16d31dc407fa42195aa5858b3a7b69911
parentmake const-qualif look at more `const fn`s (diff)
downloadrust-bc0df79db39c00cdb7dae4b6aff62ff9f2efc405.tar.gz
rust-bc0df79db39c00cdb7dae4b6aff62ff9f2efc405.tar.bz2
rust-bc0df79db39c00cdb7dae4b6aff62ff9f2efc405.tar.xz
libcore: rnable 2 unstable const fn features
So that we can bootstrap successfully
-rw-r--r--src/libcore/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index ec19392..188ea1a 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -74,6 +74,8 @@
74#![feature(const_fn)] 74#![feature(const_fn)]
75#![feature(const_fn_union)] 75#![feature(const_fn_union)]
76#![feature(const_generics)] 76#![feature(const_generics)]
77#![cfg_attr(not(bootstrap), feature(const_ptr_offset_from))]
78#![cfg_attr(not(bootstrap), feature(const_type_name))]
77#![feature(custom_inner_attributes)] 79#![feature(custom_inner_attributes)]
78#![feature(decl_macro)] 80#![feature(decl_macro)]
79#![feature(doc_cfg)] 81#![feature(doc_cfg)]