Skip to content

Commit

Permalink
Remove unnecessary #[unstable] from internal macro.
Browse files Browse the repository at this point in the history
After this change, all library #![feature]s enabled in core are for
const fns.
  • Loading branch information
m-ou-se committed Aug 5, 2021
1 parent 9decf63 commit 1b318a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion library/core/src/internal_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ macro_rules! forward_ref_op_assign {
}

/// Create a zero-size type similar to a closure type, but named.
#[unstable(feature = "std_internals", issue = "none")]
macro_rules! impl_fn_for_zst {
($(
$( #[$attr: meta] )*
Expand Down
3 changes: 1 addition & 2 deletions library/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#![warn(missing_docs)]
#![allow(explicit_outlives_requirements)]

// Library features:
// Library features for const fns:
#![feature(const_align_of_val)]
#![feature(const_alloc_layout)]
#![feature(const_arguments_as_str)]
Expand Down Expand Up @@ -105,7 +105,6 @@
#![feature(duration_consts_2)]
#![feature(ptr_metadata)]
#![feature(slice_ptr_get)]
#![feature(std_internals)]
#![feature(variant_count)]

// Language features:
Expand Down

0 comments on commit 1b318a2

Please sign in to comment.