about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2017-09-02 10:35:01 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2017-09-09 17:39:30 +0300
commit5601ae4b72ff7763735b3881d443a0755005f8eb (patch)
tree35b1c9dd5a9c7ee53cc62d1d15d7697b0e934a93 /src/libsyntax/feature_gate.rs
parent18366f4e8aaec1d46282cf0a6e0fe1a0ab202530 (diff)
downloadrust-5601ae4b72ff7763735b3881d443a0755005f8eb.tar.gz
rust-5601ae4b72ff7763735b3881d443a0755005f8eb.zip
Stabilize drop_types_in_const.
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
-rw-r--r--src/libsyntax/feature_gate.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 54d41a030fd..e3da9641cae 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -269,9 +269,6 @@ declare_features! (
     // impl specialization (RFC 1210)
     (active, specialization, "1.7.0", Some(31844)),
 
-    // Allow Drop types in statics/const functions (RFC 1440)
-    (active, drop_types_in_const, "1.9.0", Some(33156)),
-
     // Allows cfg(target_has_atomic = "...").
     (active, cfg_target_has_atomic, "1.9.0", Some(32976)),
 
@@ -466,6 +463,8 @@ declare_features! (
     (accepted, compile_error, "1.20.0", Some(40872)),
     // See rust-lang/rfcs#1414. Allows code like `let x: &'static u32 = &42` to work.
     (accepted, rvalue_static_promotion, "1.21.0", Some(38865)),
+    // Allow Drop types in constants (RFC 1440)
+    (accepted, drop_types_in_const, "1.22.0", Some(33156)),
 );
 
 // If you change this, please modify src/doc/unstable-book as well. You must