From f8b6108deba112dcbff621635e00d5800cb425d3 Mon Sep 17 00:00:00 2001 From: est31 Date: Sun, 5 Feb 2017 18:14:14 +0100 Subject: Stabilize static in const Closes #35897. --- src/libsyntax/feature_gate.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index a78c192a120..77846b69829 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -281,9 +281,6 @@ declare_features! ( // Allows untagged unions `union U { ... }` (active, untagged_unions, "1.13.0", Some(32836)), - // elide `'static` lifetimes in `static`s and `const`s - (active, static_in_const, "1.13.0", Some(35897)), - // Used to identify the `compiler_builtins` crate // rustc internal (active, compiler_builtins, "1.13.0", None), @@ -382,6 +379,8 @@ declare_features! ( (accepted, item_like_imports, "1.14.0", Some(35120)), // Allows using `Self` and associated types in struct expressions and patterns. (accepted, more_struct_aliases, "1.16.0", Some(37544)), + // elide `'static` lifetimes in `static`s and `const`s + (accepted, static_in_const, "1.17.0", Some(35897)), ); // (changing above list without updating src/doc/reference.md makes @cmr sad) -- cgit 1.4.1-3-g733a5