Skip to content

Commit 7d5cbed

Browse files
committed
Remove unnecessary #[unstable] from internal macro.
After this change, all library #![feature]s enabled in core are for const fns.
1 parent 6e879b0 commit 7d5cbed

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

library/core/src/internal_macros.rs

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ macro_rules! forward_ref_op_assign {
7777
}
7878

7979
/// Create a zero-size type similar to a closure type, but named.
80-
#[unstable(feature = "std_internals", issue = "none")]
8180
macro_rules! impl_fn_for_zst {
8281
($(
8382
$( #[$attr: meta] )*

library/core/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#![warn(missing_docs)]
7171
#![allow(explicit_outlives_requirements)]
7272

73-
// Library features:
73+
// Library features for const fns:
7474
#![feature(const_align_of_val)]
7575
#![feature(const_alloc_layout)]
7676
#![feature(const_arguments_as_str)]
@@ -105,7 +105,6 @@
105105
#![feature(duration_consts_2)]
106106
#![feature(ptr_metadata)]
107107
#![feature(slice_ptr_get)]
108-
#![feature(std_internals)]
109108
#![feature(variant_count)]
110109

111110
// Language features:

0 commit comments

Comments
 (0)