From ed66fe48e94df2cd0dee5af4afa44d7fb50cb0cf Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Thu, 5 May 2016 08:11:28 +0300 Subject: Implement RFC 1440 "Allow Drop types in statics/const functions". --- src/libsyntax/feature_gate.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libsyntax/feature_gate.rs') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index e269475d1e2..7f01821b004 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -266,7 +266,10 @@ declare_features! ( (active, specialization, "1.7.0", Some(31844)), // pub(restricted) visibilities (RFC 1422) - (active, pub_restricted, "1.9.0", Some(32409)) + (active, pub_restricted, "1.9.0", Some(32409)), + + // Allow Drop types in statics/const functions (RFC 1440) + (active, drop_types_in_const, "1.9.0", Some(33156)) ); declare_features! ( -- cgit 1.4.1-3-g733a5