mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Revert stabilizing integer::BITS.
This commit is contained in:
parent
b81f5811f9
commit
89882388d9
@ -13,6 +13,7 @@
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(generator_trait)]
|
||||
#![feature(fn_traits)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(min_specialization)]
|
||||
#![feature(auto_traits)]
|
||||
#![feature(nll)]
|
||||
|
@ -17,6 +17,7 @@ Core encoding and decoding interfaces.
|
||||
#![feature(min_specialization)]
|
||||
#![feature(vec_spare_capacity)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(maybe_uninit_slice)]
|
||||
#![feature(new_uninit)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
|
@ -1,3 +1,4 @@
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(maybe_uninit_slice)]
|
||||
#![feature(maybe_uninit_uninit_array)]
|
||||
|
||||
|
@ -102,6 +102,7 @@
|
||||
#![feature(fn_traits)]
|
||||
#![feature(fundamental)]
|
||||
#![feature(inplace_iteration)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(layout_for_ptr)]
|
||||
#![feature(maybe_uninit_ref)]
|
||||
|
@ -17,6 +17,7 @@
|
||||
#![feature(binary_heap_retain)]
|
||||
#![feature(inplace_iteration)]
|
||||
#![feature(iter_map_while)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(vecdeque_binary_search)]
|
||||
#![feature(slice_group_by)]
|
||||
#![feature(vec_extend_from_within)]
|
||||
|
@ -32,9 +32,10 @@ macro_rules! int_impl {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(int_bits_const)]
|
||||
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
|
||||
/// ```
|
||||
#[stable(feature = "int_bits_const", since = "1.51.0")]
|
||||
#[unstable(feature = "int_bits_const", issue = "76904")]
|
||||
pub const BITS: u32 = $BITS;
|
||||
|
||||
/// Converts a string slice in a given base to an integer.
|
||||
|
@ -32,9 +32,10 @@ macro_rules! uint_impl {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(int_bits_const)]
|
||||
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
|
||||
/// ```
|
||||
#[stable(feature = "int_bits_const", since = "1.51.0")]
|
||||
#[unstable(feature = "int_bits_const", issue = "76904")]
|
||||
pub const BITS: u32 = $BITS;
|
||||
|
||||
/// Converts a string slice in a given base to an integer.
|
||||
|
@ -70,6 +70,7 @@
|
||||
#![feature(partition_point)]
|
||||
#![feature(once_cell)]
|
||||
#![feature(unsafe_block_in_unsafe_fn)]
|
||||
#![feature(int_bits_const)]
|
||||
#![feature(nonzero_leading_trailing_zeros)]
|
||||
#![feature(const_option)]
|
||||
#![feature(integer_atomics)]
|
||||
|
@ -18,6 +18,7 @@
|
||||
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