Revert "Revert stabilizing integer::BITS."
This commit is contained in:
parent
f5fe425c92
commit
81932be5e7
@ -13,7 +13,6 @@
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(generator_trait)]
|
||||
#![feature(fn_traits)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(min_specialization)]
|
||||
#![feature(auto_traits)]
|
||||
#![feature(nll)]
|
||||
|
@ -16,7 +16,6 @@
|
||||
#![feature(min_specialization)]
|
||||
#![feature(vec_spare_capacity)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(maybe_uninit_array_assume_init)]
|
||||
#![feature(maybe_uninit_uninit_array)]
|
||||
#![feature(maybe_uninit_slice)]
|
||||
|
@ -1,4 +1,3 @@
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(maybe_uninit_slice)]
|
||||
#![feature(maybe_uninit_uninit_array)]
|
||||
|
||||
|
@ -103,7 +103,6 @@
|
||||
#![feature(fn_traits)]
|
||||
#![feature(fundamental)]
|
||||
#![feature(inplace_iteration)]
|
||||
#![feature(int_bits_const)]
|
||||
// Technically, this is a bug in rustdoc: rustdoc sees the documentation on `#[lang = slice_alloc]`
|
||||
// blocks is for `&[T]`, which also has documentation using this feature in `core`, and gets mad
|
||||
// that the feature-gate isn't enabled. Ideally, it wouldn't check for the feature gate for docs
|
||||
|
@ -16,7 +16,6 @@
|
||||
#![feature(binary_heap_retain)]
|
||||
#![feature(inplace_iteration)]
|
||||
#![feature(iter_map_while)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(vecdeque_binary_search)]
|
||||
#![feature(slice_group_by)]
|
||||
#![feature(slice_partition_dedup)]
|
||||
|
@ -32,10 +32,9 @@ macro_rules! int_impl {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(int_bits_const)]
|
||||
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
|
||||
/// ```
|
||||
#[unstable(feature = "int_bits_const", issue = "76904")]
|
||||
#[stable(feature = "int_bits_const", since = "1.51.0")]
|
||||
pub const BITS: u32 = $BITS;
|
||||
|
||||
/// Converts a string slice in a given base to an integer.
|
||||
|
@ -32,10 +32,9 @@ macro_rules! uint_impl {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(int_bits_const)]
|
||||
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
|
||||
/// ```
|
||||
#[unstable(feature = "int_bits_const", issue = "76904")]
|
||||
#[stable(feature = "int_bits_const", since = "1.51.0")]
|
||||
pub const BITS: u32 = $BITS;
|
||||
|
||||
/// Converts a string slice in a given base to an integer.
|
||||
|
@ -73,7 +73,6 @@
|
||||
#![cfg_attr(not(bootstrap), feature(ptr_metadata))]
|
||||
#![feature(once_cell)]
|
||||
#![feature(unsized_tuple_coercion)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(nonzero_leading_trailing_zeros)]
|
||||
#![feature(const_option)]
|
||||
#![feature(integer_atomics)]
|
||||
|
@ -18,7 +18,6 @@
|
||||
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/"
|
||||
)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(nll)]
|
||||
#![feature(panic_unwind)]
|
||||
|
Loading…
Reference in New Issue
Block a user