diff options
| author | bors <bors@rust-lang.org> | 2025-09-27 03:50:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-09-27 03:50:03 +0000 |
| commit | 959b450747f81e720be3a829665dd30e553e7fd7 (patch) | |
| tree | 6aa341cbd39c462a103c0273e6a3d3cde5c7a170 /compiler/rustc_index/src/idx.rs | |
| parent | e1318422222101423fdbbe0f375109c3b40f75bc (diff) | |
| parent | 54669d7db41952d4c04d735d2c6702d1b2022fed (diff) | |
| download | rust-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.rs | 6 |
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() } } |
