about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-05-23 02:28:13 +0200
committerest31 <MTest31@outlook.com>2017-05-25 11:57:55 +0200
commit87950b79de4bd12ad02f32dbebc60ab1bef17f82 (patch)
tree58b14b827856b87aec2de39489550f9ce85cfb72 /src/libsyntax/feature_gate.rs
parentd0811c9148ff4fa15aba69e7fb11d7ec5dabbe8d (diff)
downloadrust-87950b79de4bd12ad02f32dbebc60ab1bef17f82.tar.gz
rust-87950b79de4bd12ad02f32dbebc60ab1bef17f82.zip
Stabilize non capturing closure to fn coercion
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
-rw-r--r--src/libsyntax/feature_gate.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 6acf27f314a..70ab2e8dfe7 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -318,9 +318,6 @@ declare_features! (
     // `extern "msp430-interrupt" fn()`
     (active, abi_msp430_interrupt, "1.16.0", Some(38487)),
 
-    // Coerces non capturing closures to function pointers
-    (active, closure_to_fn_coercion, "1.17.0", Some(39817)),
-
     // Used to identify crates that contain sanitizer runtimes
     // rustc internal
     (active, sanitizer_runtime, "1.17.0", None),
@@ -421,6 +418,8 @@ declare_features! (
     (accepted, loop_break_value, "1.19.0", Some(37339)),
     // Permits numeric fields in struct expressions and patterns.
     (accepted, relaxed_adts, "1.19.0", Some(35626)),
+    // Coerces non capturing closures to function pointers
+    (accepted, closure_to_fn_coercion, "1.19.0", Some(39817)),
 );
 
 // If you change this, please modify src/doc/unstable-book as well. You must
@@ -1020,9 +1019,6 @@ pub const EXPLAIN_VIS_MATCHER: &'static str =
 pub const EXPLAIN_PLACEMENT_IN: &'static str =
     "placement-in expression syntax is experimental and subject to change.";
 
-pub const CLOSURE_TO_FN_COERCION: &'static str =
-    "non-capturing closure to fn coercion is experimental";
-
 struct PostExpansionVisitor<'a> {
     context: &'a Context<'a>,
 }