about summary refs log tree commit diff
path: root/compiler/rustc_index/src/idx.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-09-27 03:50:03 +0000
committerbors <bors@rust-lang.org>2025-09-27 03:50:03 +0000
commit959b450747f81e720be3a829665dd30e553e7fd7 (patch)
tree6aa341cbd39c462a103c0273e6a3d3cde5c7a170 /compiler/rustc_index/src/idx.rs
parente1318422222101423fdbbe0f375109c3b40f75bc (diff)
parent54669d7db41952d4c04d735d2c6702d1b2022fed (diff)
downloadrust-959b450747f81e720be3a829665dd30e553e7fd7.tar.gz
rust-959b450747f81e720be3a829665dd30e553e7fd7.zip
Auto merge of #146636 - Mark-Simulacrum:bootstrap-bump, r=jieyouxu
Bump bootstrap compiler to 1.91 beta

https://forge.rust-lang.org/release/process.html#default-branch-bootstrap-update-tuesday
Diffstat (limited to 'compiler/rustc_index/src/idx.rs')
-rw-r--r--compiler/rustc_index/src/idx.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_index/src/idx.rs b/compiler/rustc_index/src/idx.rs
index 9cd7134659c..2fb2008f9a3 100644
--- a/compiler/rustc_index/src/idx.rs
+++ b/compiler/rustc_index/src/idx.rs
@@ -130,12 +130,6 @@ impl<I: Idx, T> IntoSliceIdx<I, [T]> for core::range::RangeFrom<I> {
 impl<I: Idx, T> IntoSliceIdx<I, [T]> for core::range::RangeInclusive<I> {
     type Output = core::range::RangeInclusive<usize>;
     #[inline]
-    #[cfg(bootstrap)]
-    fn into_slice_idx(self) -> Self::Output {
-        core::range::RangeInclusive { start: self.start.index(), end: self.end.index() }
-    }
-    #[inline]
-    #[cfg(not(bootstrap))]
     fn into_slice_idx(self) -> Self::Output {
         core::range::RangeInclusive { start: self.start.index(), last: self.last.index() }
     }