提交 7821ea83 编写于 作者: E est31

Mark the pushpop_unsafe feature as "removed"

This marks the pushpop_unsafe feature as removed inside the feature_gate.
It was added in commit 1829fa51 and then
removed again in commit d399098f .
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).
上级 530b5c86
......@@ -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,
}
}
......
......@@ -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! (
......
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册