]> git.lizzy.rs Git - rust.git/commitdiff
Mark the pushpop_unsafe feature as "removed"
authorest31 <MTest31@outlook.com>
Sun, 15 Jan 2017 00:03:33 +0000 (01:03 +0100)
committerest31 <MTest31@outlook.com>
Sun, 15 Jan 2017 01:17:26 +0000 (02:17 +0100)
This marks the pushpop_unsafe feature as removed inside the feature_gate.
It was added in commit 1829fa5199bae5a192c771807c532badce14be37 and then
removed again in commit d399098fd82e0bf3ed61bbbbcdbb0b6adfa4c808 .
Seems that the second commit forgot to mark it as removed in feature_gate.rs.

This enables us to remove another element from the whitelist of non gate
tested unstable lang features (issue #39059).

src/libsyntax/ext/expand.rs
src/libsyntax/feature_gate.rs
src/tools/tidy/src/features.rs

index 201e8d69494ac06445a1961575729f25f34efd68..3a8f9126b498d8172c711056620e7d155b8e1d7c 100644 (file)
@@ -926,7 +926,6 @@ fn enable_concat_idents = concat_idents,
         fn enable_trace_macros = trace_macros,
         fn enable_allow_internal_unstable = allow_internal_unstable,
         fn enable_custom_derive = custom_derive,
-        fn enable_pushpop_unsafe = pushpop_unsafe,
     }
 }
 
index 64f2510b7909c6da7ede394b575ff1ae87888064..ba6e752d310e0db0a4e79f3f2eca67ab75c93329 100644 (file)
@@ -127,9 +127,6 @@ pub fn new() -> Features {
     (active, reflect, "1.0.0", Some(27749)),
     (active, unboxed_closures, "1.0.0", Some(29625)),
 
-    // rustc internal.
-    (active, pushpop_unsafe, "1.2.0", None),
-
     (active, allocator, "1.0.0", Some(27389)),
     (active, fundamental, "1.0.0", Some(29635)),
     (active, main, "1.0.0", Some(29634)),
@@ -341,6 +338,7 @@ pub fn new() -> Features {
     // Allows using items which are missing stability attributes
     // rustc internal
     (removed, unmarked_api, "1.0.0", None),
+    (removed, pushpop_unsafe, "1.2.0", None),
 );
 
 declare_features! (
index e2f7f921db2aa8b7e5d06d164b421fa2230ffe3a..10b509d58bf738a5017752e91999dbde502be32e 100644 (file)
@@ -168,7 +168,7 @@ pub fn check(path: &Path, bad: &mut bool) {
         "abi_ptx", "simd", "macro_reexport",
         "more_struct_aliases", "static_recursion", "reflect",
         "quote", "cfg_target_has_atomic", "custom_attribute",
-        "default_type_parameter_fallback", "pushpop_unsafe",
+        "default_type_parameter_fallback",
         "use_extern_macros", "staged_api", "const_indexing",
         "unboxed_closures", "stmt_expr_attributes",
         "cfg_target_thread_local", "unwind_attributes",