Skip to content

Commit 3557efb

Browse files
committed
Auto merge of rust-lang#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
2 parents e4e742a + 6c3edbe commit 3557efb

File tree

23 files changed

+121
-121
lines changed

23 files changed

+121
-121
lines changed

alloc/src/boxed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ impl Default for Box<str> {
17061706
}
17071707

17081708
#[cfg(not(no_global_oom_handling))]
1709-
#[stable(feature = "pin_default_impls", since = "CURRENT_RUSTC_VERSION")]
1709+
#[stable(feature = "pin_default_impls", since = "1.91.0")]
17101710
impl<T> Default for Pin<Box<T>>
17111711
where
17121712
T: ?Sized,

alloc/src/collections/btree/map.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
14561456
/// assert_eq!(low.keys().copied().collect::<Vec<_>>(), [0, 1, 2, 3]);
14571457
/// assert_eq!(high.keys().copied().collect::<Vec<_>>(), [4, 5, 6, 7]);
14581458
/// ```
1459-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1459+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
14601460
pub fn extract_if<F, R>(&mut self, range: R, pred: F) -> ExtractIf<'_, K, V, R, F, A>
14611461
where
14621462
K: Ord,
@@ -1943,7 +1943,7 @@ impl<K, V> Default for Values<'_, K, V> {
19431943
}
19441944

19451945
/// An iterator produced by calling `extract_if` on BTreeMap.
1946-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1946+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
19471947
#[must_use = "iterators are lazy and do nothing unless consumed"]
19481948
pub struct ExtractIf<
19491949
'a,
@@ -1976,7 +1976,7 @@ pub(super) struct ExtractIfInner<'a, K, V, R> {
19761976
range: R,
19771977
}
19781978

1979-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1979+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
19801980
impl<K, V, R, F, A> fmt::Debug for ExtractIf<'_, K, V, R, F, A>
19811981
where
19821982
K: fmt::Debug,
@@ -1988,7 +1988,7 @@ where
19881988
}
19891989
}
19901990

1991-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1991+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
19921992
impl<K, V, R, F, A: Allocator + Clone> Iterator for ExtractIf<'_, K, V, R, F, A>
19931993
where
19941994
K: PartialOrd,
@@ -2062,7 +2062,7 @@ impl<'a, K, V, R> ExtractIfInner<'a, K, V, R> {
20622062
}
20632063
}
20642064

2065-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
2065+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
20662066
impl<K, V, R, F> FusedIterator for ExtractIf<'_, K, V, R, F>
20672067
where
20682068
K: PartialOrd,

alloc/src/collections/btree/set.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
12181218
/// assert_eq!(low.into_iter().collect::<Vec<_>>(), [0, 1, 2, 3]);
12191219
/// assert_eq!(high.into_iter().collect::<Vec<_>>(), [4, 5, 6, 7]);
12201220
/// ```
1221-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1221+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
12221222
pub fn extract_if<F, R>(&mut self, range: R, pred: F) -> ExtractIf<'_, T, R, F, A>
12231223
where
12241224
T: Ord,
@@ -1553,7 +1553,7 @@ impl<'a, T, A: Allocator + Clone> IntoIterator for &'a BTreeSet<T, A> {
15531553
}
15541554

15551555
/// An iterator produced by calling `extract_if` on BTreeSet.
1556-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1556+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
15571557
#[must_use = "iterators are lazy and do nothing unless consumed"]
15581558
pub struct ExtractIf<
15591559
'a,
@@ -1568,7 +1568,7 @@ pub struct ExtractIf<
15681568
alloc: A,
15691569
}
15701570

1571-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1571+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
15721572
impl<T, R, F, A> fmt::Debug for ExtractIf<'_, T, R, F, A>
15731573
where
15741574
T: fmt::Debug,
@@ -1581,7 +1581,7 @@ where
15811581
}
15821582
}
15831583

1584-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1584+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
15851585
impl<T, R, F, A: Allocator + Clone> Iterator for ExtractIf<'_, T, R, F, A>
15861586
where
15871587
T: PartialOrd,
@@ -1601,7 +1601,7 @@ where
16011601
}
16021602
}
16031603

1604-
#[stable(feature = "btree_extract_if", since = "CURRENT_RUSTC_VERSION")]
1604+
#[stable(feature = "btree_extract_if", since = "1.91.0")]
16051605
impl<T, R, F, A: Allocator + Clone> FusedIterator for ExtractIf<'_, T, R, F, A>
16061606
where
16071607
T: PartialOrd,

alloc/src/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2377,7 +2377,7 @@ impl<T> Default for Rc<[T]> {
23772377
}
23782378

23792379
#[cfg(not(no_global_oom_handling))]
2380-
#[stable(feature = "pin_default_impls", since = "CURRENT_RUSTC_VERSION")]
2380+
#[stable(feature = "pin_default_impls", since = "1.91.0")]
23812381
impl<T> Default for Pin<Rc<T>>
23822382
where
23832383
T: ?Sized,

alloc/src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3636,7 +3636,7 @@ impl<T> Default for Arc<[T]> {
36363636
}
36373637

36383638
#[cfg(not(no_global_oom_handling))]
3639-
#[stable(feature = "pin_default_impls", since = "CURRENT_RUSTC_VERSION")]
3639+
#[stable(feature = "pin_default_impls", since = "1.91.0")]
36403640
impl<T> Default for Pin<Arc<T>>
36413641
where
36423642
T: ?Sized,

core/src/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ impl TypeId {
774774
/// ```
775775
#[must_use]
776776
#[stable(feature = "rust1", since = "1.0.0")]
777-
#[rustc_const_stable(feature = "const_type_id", since = "CURRENT_RUSTC_VERSION")]
777+
#[rustc_const_stable(feature = "const_type_id", since = "1.91.0")]
778778
pub const fn of<T: ?Sized + 'static>() -> TypeId {
779779
const { intrinsics::type_id::<T>() }
780780
}

core/src/array/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub use iter::IntoIter;
4949
/// ```
5050
#[inline]
5151
#[must_use = "cloning is often expensive and is not expected to have side effects"]
52-
#[stable(feature = "array_repeat", since = "CURRENT_RUSTC_VERSION")]
52+
#[stable(feature = "array_repeat", since = "1.91.0")]
5353
pub fn repeat<T: Clone, const N: usize>(val: T) -> [T; N] {
5454
from_trusted_iterator(repeat_n(val, N))
5555
}
@@ -627,7 +627,7 @@ impl<T, const N: usize> [T; N] {
627627
/// assert_eq!(strings.len(), 3);
628628
/// ```
629629
#[stable(feature = "array_methods", since = "1.77.0")]
630-
#[rustc_const_stable(feature = "const_array_each_ref", since = "CURRENT_RUSTC_VERSION")]
630+
#[rustc_const_stable(feature = "const_array_each_ref", since = "1.91.0")]
631631
pub const fn each_ref(&self) -> [&T; N] {
632632
let mut buf = [null::<T>(); N];
633633

@@ -658,7 +658,7 @@ impl<T, const N: usize> [T; N] {
658658
/// assert_eq!(floats, [0.0, 2.7, -1.0]);
659659
/// ```
660660
#[stable(feature = "array_methods", since = "1.77.0")]
661-
#[rustc_const_stable(feature = "const_array_each_ref", since = "CURRENT_RUSTC_VERSION")]
661+
#[rustc_const_stable(feature = "const_array_each_ref", since = "1.91.0")]
662662
pub const fn each_mut(&mut self) -> [&mut T; N] {
663663
let mut buf = [null_mut::<T>(); N];
664664

core/src/cell.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ impl<T, const N: usize> Cell<[T; N]> {
705705
/// let cell_array: &Cell<[i32; 3]> = Cell::from_mut(&mut array);
706706
/// let array_cell: &[Cell<i32>; 3] = cell_array.as_array_of_cells();
707707
/// ```
708-
#[stable(feature = "as_array_of_cells", since = "CURRENT_RUSTC_VERSION")]
709-
#[rustc_const_stable(feature = "as_array_of_cells", since = "CURRENT_RUSTC_VERSION")]
708+
#[stable(feature = "as_array_of_cells", since = "1.91.0")]
709+
#[rustc_const_stable(feature = "as_array_of_cells", since = "1.91.0")]
710710
pub const fn as_array_of_cells(&self) -> &[Cell<T>; N] {
711711
// SAFETY: `Cell<T>` has the same memory layout as `T`.
712712
unsafe { &*(self as *const Cell<[T; N]> as *const [Cell<T>; N]) }

core/src/iter/adapters/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl<A, B> Chain<A, B> {
6060
/// assert_eq!(iter.next(), Some(6));
6161
/// assert_eq!(iter.next(), None);
6262
/// ```
63-
#[stable(feature = "iter_chain", since = "CURRENT_RUSTC_VERSION")]
63+
#[stable(feature = "iter_chain", since = "1.91.0")]
6464
pub fn chain<A, B>(a: A, b: B) -> Chain<A::IntoIter, B::IntoIter>
6565
where
6666
A: IntoIterator,

core/src/iter/adapters/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mod zip;
3232
pub use self::array_chunks::ArrayChunks;
3333
#[unstable(feature = "std_internals", issue = "none")]
3434
pub use self::by_ref_sized::ByRefSized;
35-
#[stable(feature = "iter_chain", since = "CURRENT_RUSTC_VERSION")]
35+
#[stable(feature = "iter_chain", since = "1.91.0")]
3636
pub use self::chain::chain;
3737
#[stable(feature = "iter_cloned", since = "1.1.0")]
3838
pub use self::cloned::Cloned;

0 commit comments

Comments
 (0)