Remove const_if_match
feature gate from libraries
This commit is contained in:
parent
f33a75c20c
commit
48ebd2cdb8
@ -87,7 +87,7 @@
|
||||
#![feature(const_generic_impls_guard)]
|
||||
#![feature(const_generics)]
|
||||
#![feature(const_in_array_repeat_expressions)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(cow_is_borrowed)]
|
||||
#![feature(dispatch_from_dyn)]
|
||||
#![feature(core_intrinsics)]
|
||||
|
@ -73,7 +73,7 @@
|
||||
#![feature(const_ascii_ctype_on_intrinsics)]
|
||||
#![feature(const_alloc_layout)]
|
||||
#![feature(const_discriminant)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_loop)]
|
||||
#![feature(const_checked_int_methods)]
|
||||
#![feature(const_euclidean_int_methods)]
|
||||
|
@ -1578,7 +1578,7 @@ $EndFeature, "
|
||||
#[stable(feature = "no_panic_abs", since = "1.13.0")]
|
||||
#[rustc_const_stable(feature = "const_int_methods", since = "1.32.0")]
|
||||
#[allow(unused_attributes)]
|
||||
#[allow_internal_unstable(const_if_match)]
|
||||
#[cfg_attr(bootstrap, allow_internal_unstable(const_if_match))]
|
||||
#[inline]
|
||||
pub const fn wrapping_abs(self) -> Self {
|
||||
if self.is_negative() {
|
||||
@ -1867,7 +1867,7 @@ assert_eq!(", stringify!($SelfT), "::MIN.overflowing_neg(), (", stringify!($Self
|
||||
#[stable(feature = "wrapping", since = "1.7.0")]
|
||||
#[rustc_const_stable(feature = "const_int_methods", since = "1.32.0")]
|
||||
#[allow(unused_attributes)]
|
||||
#[allow_internal_unstable(const_if_match)]
|
||||
#[cfg_attr(bootstrap, allow_internal_unstable(const_if_match))]
|
||||
pub const fn overflowing_neg(self) -> (Self, bool) {
|
||||
if self == Self::MIN {
|
||||
(Self::MIN, true)
|
||||
@ -2160,7 +2160,7 @@ $EndFeature, "
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_stable(feature = "const_int_methods", since = "1.32.0")]
|
||||
#[allow(unused_attributes)]
|
||||
#[allow_internal_unstable(const_if_match)]
|
||||
#[cfg_attr(bootstrap, allow_internal_unstable(const_if_match))]
|
||||
#[inline]
|
||||
#[rustc_inherit_overflow_checks]
|
||||
pub const fn abs(self) -> Self {
|
||||
|
@ -7,7 +7,7 @@
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/", test(attr(deny(warnings))))]
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)] // For the `transmute` in `P::new`
|
||||
#![feature(const_panic)]
|
||||
#![feature(const_transmute)]
|
||||
|
@ -3,7 +3,7 @@
|
||||
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
|
||||
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)] // For the unsizing cast on `&[]`
|
||||
#![feature(const_panic)]
|
||||
#![feature(in_band_lifetimes)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
#![feature(allow_internal_unstable)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(extend_one)]
|
||||
|
@ -17,7 +17,7 @@
|
||||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_panic)]
|
||||
#![feature(extend_one)]
|
||||
#![feature(never_type)]
|
||||
|
@ -27,7 +27,7 @@
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(const_transmute)]
|
||||
|
@ -10,7 +10,7 @@ Rust MIR: a lowered representation of Rust.
|
||||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_loop)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_panic)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(hash_raw_entry)]
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(negative_impls)]
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(const_if_match)]
|
||||
#![cfg_attr(bootstrap, feature(const_if_match))]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(nll)]
|
||||
|
Loading…
Reference in New Issue
Block a user