diff --git a/compiler/rustc_index/src/idx.rs b/compiler/rustc_index/src/idx.rs index 2fb2008f9a3d..60c4dd90d8f6 100644 --- a/compiler/rustc_index/src/idx.rs +++ b/compiler/rustc_index/src/idx.rs @@ -135,7 +135,7 @@ impl IntoSliceIdx for core::range::RangeInclusive { } } -#[cfg(all(feature = "nightly", not(bootstrap)))] +#[cfg(feature = "nightly")] impl IntoSliceIdx for core::range::RangeToInclusive { type Output = core::range::RangeToInclusive; #[inline] diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs index f61b5cf52798..42d284938468 100644 --- a/compiler/rustc_index/src/lib.rs +++ b/compiler/rustc_index/src/lib.rs @@ -1,6 +1,5 @@ // tidy-alphabetical-start #![cfg_attr(all(feature = "nightly", test), feature(stmt_expr_attributes))] -#![cfg_attr(bootstrap, feature(new_zeroed_alloc))] #![cfg_attr(feature = "nightly", allow(internal_features))] #![cfg_attr(feature = "nightly", feature(extend_one, step_trait, test))] #![cfg_attr(feature = "nightly", feature(new_range_api))] diff --git a/src/tools/miri/src/lib.rs b/src/tools/miri/src/lib.rs index 1206859d1cdc..b756fbb901bc 100644 --- a/src/tools/miri/src/lib.rs +++ b/src/tools/miri/src/lib.rs @@ -17,7 +17,7 @@ #![feature(derive_coerce_pointee)] #![feature(arbitrary_self_types)] #![feature(iter_advance_by)] -#![cfg_attr(not(bootstrap), feature(duration_from_nanos_u128))] +#![feature(duration_from_nanos_u128)] // Configure clippy and other lints #![allow( clippy::collapsible_else_if,