Skip to content

Commit 7821ea8

Browse files
committed
Mark the pushpop_unsafe feature as "removed"
This marks the pushpop_unsafe feature as removed inside the feature_gate. It was added in commit 1829fa5 and then removed again in commit d399098 . 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 rust-lang#39059).
1 parent 530b5c8 commit 7821ea8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/libsyntax/ext/expand.rs

-1
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,6 @@ impl<'feat> ExpansionConfig<'feat> {
926926
fn enable_trace_macros = trace_macros,
927927
fn enable_allow_internal_unstable = allow_internal_unstable,
928928
fn enable_custom_derive = custom_derive,
929-
fn enable_pushpop_unsafe = pushpop_unsafe,
930929
}
931930
}
932931

src/libsyntax/feature_gate.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ declare_features! (
127127
(active, reflect, "1.0.0", Some(27749)),
128128
(active, unboxed_closures, "1.0.0", Some(29625)),
129129

130-
// rustc internal.
131-
(active, pushpop_unsafe, "1.2.0", None),
132-
133130
(active, allocator, "1.0.0", Some(27389)),
134131
(active, fundamental, "1.0.0", Some(29635)),
135132
(active, main, "1.0.0", Some(29634)),
@@ -341,6 +338,7 @@ declare_features! (
341338
// Allows using items which are missing stability attributes
342339
// rustc internal
343340
(removed, unmarked_api, "1.0.0", None),
341+
(removed, pushpop_unsafe, "1.2.0", None),
344342
);
345343

346344
declare_features! (

src/tools/tidy/src/features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ pub fn check(path: &Path, bad: &mut bool) {
168168
"abi_ptx", "simd", "macro_reexport",
169169
"more_struct_aliases", "static_recursion", "reflect",
170170
"quote", "cfg_target_has_atomic", "custom_attribute",
171-
"default_type_parameter_fallback", "pushpop_unsafe",
171+
"default_type_parameter_fallback",
172172
"use_extern_macros", "staged_api", "const_indexing",
173173
"unboxed_closures", "stmt_expr_attributes",
174174
"cfg_target_thread_local", "unwind_attributes",

0 commit comments

Comments
 (0)