diff options
| author | est31 <MTest31@outlook.com> | 2017-02-05 18:14:14 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-02-08 12:33:35 +0100 |
| commit | f8b6108deba112dcbff621635e00d5800cb425d3 (patch) | |
| tree | a421c7a2b74ab1400a0bc728a151a76b112d079f /src/libsyntax | |
| parent | 10f6a5c4431e09d355a0ba319a630e02a1e38361 (diff) | |
| download | rust-f8b6108deba112dcbff621635e00d5800cb425d3.tar.gz rust-f8b6108deba112dcbff621635e00d5800cb425d3.zip | |
Stabilize static in const
Closes #35897.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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) |
