about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-03 00:22:12 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-12-04 10:17:36 +0100
commitf2ae7b78d63695c1b9ff7bdf4079c7a02e77f73e (patch)
tree496ef923b5278d7f030c8a4a50d972f0d3755e34 /src/libsyntax
parent91d5d56c00d8e2926ccf856f14a4e52ef480d039 (diff)
downloadrust-f2ae7b78d63695c1b9ff7bdf4079c7a02e77f73e.tar.gz
rust-f2ae7b78d63695c1b9ff7bdf4079c7a02e77f73e.zip
Allow calling `const unsafe fn` in `const fn` behind a feature gate
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index fac7ff2bf34..026b159f80f 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -492,6 +492,9 @@ declare_features! (
 
     // `extern crate self as foo;` puts local crate root into extern prelude under name `foo`.
     (active, extern_crate_self, "1.31.0", Some(56409), None),
+    
+    // Allows calling `const unsafe fn` inside `unsafe` blocks in `const fn` functions.
+    (active, min_const_unsafe_fn, "1.31.0", Some(55607), None),
 );
 
 declare_features! (