Skip to content

Commit 572c0d5

Browse files
committed
Auto merge of #110643 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
[master] Bump stage0 r? `@Mark-Simulacrum`
2 parents 7a96158 + a7bb8c7 commit 572c0d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+606
-1020
lines changed

compiler/rustc_feature/src/accepted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ declare_features! (
239239
/// Allows using `Self` and associated types in struct expressions and patterns.
240240
(accepted, more_struct_aliases, "1.16.0", Some(37544), None),
241241
/// Allows using the MOVBE target feature.
242-
(accepted, movbe_target_feature, "CURRENT_RUSTC_VERSION", Some(44839), None),
242+
(accepted, movbe_target_feature, "1.70.0", Some(44839), None),
243243
/// Allows patterns with concurrent by-move and by-ref bindings.
244244
/// For example, you can write `Foo(a, ref b)` where `a` is by-move and `b` is by-ref.
245245
(accepted, move_ref_pattern, "1.49.0", Some(68354), None),

compiler/rustc_feature/src/active.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ declare_features! (
417417
/// Allows `if let` guard in match arms.
418418
(active, if_let_guard, "1.47.0", Some(51114), None),
419419
/// Allows `impl Trait` to be used inside associated types (RFC 2515).
420-
(active, impl_trait_in_assoc_type, "CURRENT_RUSTC_VERSION", Some(63063), None),
420+
(active, impl_trait_in_assoc_type, "1.70.0", Some(63063), None),
421421
/// Allows `impl Trait` as output type in `Fn` traits in return position of functions.
422422
(active, impl_trait_in_fn_trait_return, "1.64.0", Some(99697), None),
423423
/// Allows referencing `Self` and projections in impl-trait.
@@ -498,7 +498,7 @@ declare_features! (
498498
/// Allows return-position `impl Trait` in traits.
499499
(incomplete, return_position_impl_trait_in_trait, "1.65.0", Some(91611), None),
500500
/// Allows bounding the return type of AFIT/RPITIT.
501-
(incomplete, return_type_notation, "CURRENT_RUSTC_VERSION", Some(109417), None),
501+
(incomplete, return_type_notation, "1.70.0", Some(109417), None),
502502
/// Allows `extern "rust-cold"`.
503503
(active, rust_cold_cc, "1.63.0", Some(97544), None),
504504
/// Allows the use of SIMD types in functions declared in `extern` blocks.
@@ -521,7 +521,7 @@ declare_features! (
521521
/// Dyn upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
522522
(active, trait_upcasting, "1.56.0", Some(65991), None),
523523
/// Allows for transmuting between arrays with sizes that contain generic consts.
524-
(active, transmute_generic_consts, "CURRENT_RUSTC_VERSION", Some(109929), None),
524+
(active, transmute_generic_consts, "1.70.0", Some(109929), None),
525525
/// Allows #[repr(transparent)] on unions (RFC 2645).
526526
(active, transparent_unions, "1.37.0", Some(60405), None),
527527
/// Allows inconsistent bounds in where clauses.

compiler/rustc_feature/src/removed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ declare_features! (
5353
(removed, await_macro, "1.38.0", Some(50547), None,
5454
Some("subsumed by `.await` syntax")),
5555
/// Allows using the `box $expr` syntax.
56-
(removed, box_syntax, "CURRENT_RUSTC_VERSION", Some(49733), None, Some("replaced with `#[rustc_box]`")),
56+
(removed, box_syntax, "1.70.0", Some(49733), None, Some("replaced with `#[rustc_box]`")),
5757
/// Allows capturing disjoint fields in a closure/generator (RFC 2229).
5858
(removed, capture_disjoint_fields, "1.49.0", Some(53488), None, Some("stabilized in Rust 2021")),
5959
/// Allows comparing raw pointers during const eval.

library/alloc/src/collections/binary_heap/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ impl<T: Ord> BinaryHeap<T> {
853853
///
854854
/// assert_eq!(heap.into_sorted_vec(), [-10, 2, 4])
855855
/// ```
856-
#[stable(feature = "binary_heap_retain", since = "CURRENT_RUSTC_VERSION")]
856+
#[stable(feature = "binary_heap_retain", since = "1.70.0")]
857857
pub fn retain<F>(&mut self, mut f: F)
858858
where
859859
F: FnMut(&T) -> bool,
@@ -1463,7 +1463,7 @@ impl<T> ExactSizeIterator for IntoIter<T> {
14631463
#[stable(feature = "fused", since = "1.26.0")]
14641464
impl<T> FusedIterator for IntoIter<T> {}
14651465

1466-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1466+
#[stable(feature = "default_iters", since = "1.70.0")]
14671467
impl<T> Default for IntoIter<T> {
14681468
/// Creates an empty `binary_heap::IntoIter`.
14691469
///

library/alloc/src/collections/btree/map.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for Iter<'_, K, V> {
362362
}
363363
}
364364

365-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
365+
#[stable(feature = "default_iters", since = "1.70.0")]
366366
impl<'a, K: 'a, V: 'a> Default for Iter<'a, K, V> {
367367
/// Creates an empty `btree_map::Iter`.
368368
///
@@ -400,7 +400,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for IterMut<'_, K, V> {
400400
}
401401
}
402402

403-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
403+
#[stable(feature = "default_iters", since = "1.70.0")]
404404
impl<'a, K: 'a, V: 'a> Default for IterMut<'a, K, V> {
405405
/// Creates an empty `btree_map::IterMut`.
406406
///
@@ -448,7 +448,7 @@ impl<K: Debug, V: Debug, A: Allocator + Clone> Debug for IntoIter<K, V, A> {
448448
}
449449
}
450450

451-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
451+
#[stable(feature = "default_iters", since = "1.70.0")]
452452
impl<K, V, A> Default for IntoIter<K, V, A>
453453
where
454454
A: Allocator + Default + Clone,
@@ -1812,7 +1812,7 @@ impl<K, V> Clone for Keys<'_, K, V> {
18121812
}
18131813
}
18141814

1815-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1815+
#[stable(feature = "default_iters", since = "1.70.0")]
18161816
impl<K, V> Default for Keys<'_, K, V> {
18171817
/// Creates an empty `btree_map::Keys`.
18181818
///
@@ -1867,7 +1867,7 @@ impl<K, V> Clone for Values<'_, K, V> {
18671867
}
18681868
}
18691869

1870-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1870+
#[stable(feature = "default_iters", since = "1.70.0")]
18711871
impl<K, V> Default for Values<'_, K, V> {
18721872
/// Creates an empty `btree_map::Values`.
18731873
///
@@ -2017,7 +2017,7 @@ impl<'a, K, V> Iterator for Range<'a, K, V> {
20172017
}
20182018
}
20192019

2020-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
2020+
#[stable(feature = "default_iters", since = "1.70.0")]
20212021
impl<K, V> Default for Range<'_, K, V> {
20222022
/// Creates an empty `btree_map::Range`.
20232023
///
@@ -2107,7 +2107,7 @@ impl<K, V, A: Allocator + Clone> ExactSizeIterator for IntoKeys<K, V, A> {
21072107
#[stable(feature = "map_into_keys_values", since = "1.54.0")]
21082108
impl<K, V, A: Allocator + Clone> FusedIterator for IntoKeys<K, V, A> {}
21092109

2110-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
2110+
#[stable(feature = "default_iters", since = "1.70.0")]
21112111
impl<K, V, A> Default for IntoKeys<K, V, A>
21122112
where
21132113
A: Allocator + Default + Clone,
@@ -2158,7 +2158,7 @@ impl<K, V, A: Allocator + Clone> ExactSizeIterator for IntoValues<K, V, A> {
21582158
#[stable(feature = "map_into_keys_values", since = "1.54.0")]
21592159
impl<K, V, A: Allocator + Clone> FusedIterator for IntoValues<K, V, A> {}
21602160

2161-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
2161+
#[stable(feature = "default_iters", since = "1.70.0")]
21622162
impl<K, V, A> Default for IntoValues<K, V, A>
21632163
where
21642164
A: Allocator + Default + Clone,

library/alloc/src/collections/btree/set.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ impl<T, A: Allocator + Clone> Iterator for IntoIter<T, A> {
15381538
}
15391539
}
15401540

1541-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1541+
#[stable(feature = "default_iters", since = "1.70.0")]
15421542
impl<T> Default for Iter<'_, T> {
15431543
/// Creates an empty `btree_set::Iter`.
15441544
///
@@ -1568,7 +1568,7 @@ impl<T, A: Allocator + Clone> ExactSizeIterator for IntoIter<T, A> {
15681568
#[stable(feature = "fused", since = "1.26.0")]
15691569
impl<T, A: Allocator + Clone> FusedIterator for IntoIter<T, A> {}
15701570

1571-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1571+
#[stable(feature = "default_iters", since = "1.70.0")]
15721572
impl<T, A> Default for IntoIter<T, A>
15731573
where
15741574
A: Allocator + Default + Clone,
@@ -1623,7 +1623,7 @@ impl<'a, T> DoubleEndedIterator for Range<'a, T> {
16231623
#[stable(feature = "fused", since = "1.26.0")]
16241624
impl<T> FusedIterator for Range<'_, T> {}
16251625

1626-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1626+
#[stable(feature = "default_iters", since = "1.70.0")]
16271627
impl<T> Default for Range<'_, T> {
16281628
/// Creates an empty `btree_set::Range`.
16291629
///

library/alloc/src/collections/linked_list.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ impl<T> ExactSizeIterator for Iter<'_, T> {}
11371137
#[stable(feature = "fused", since = "1.26.0")]
11381138
impl<T> FusedIterator for Iter<'_, T> {}
11391139

1140-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1140+
#[stable(feature = "default_iters", since = "1.70.0")]
11411141
impl<T> Default for Iter<'_, T> {
11421142
/// Creates an empty `linked_list::Iter`.
11431143
///
@@ -1205,7 +1205,7 @@ impl<T> ExactSizeIterator for IterMut<'_, T> {}
12051205
#[stable(feature = "fused", since = "1.26.0")]
12061206
impl<T> FusedIterator for IterMut<'_, T> {}
12071207

1208-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1208+
#[stable(feature = "default_iters", since = "1.70.0")]
12091209
impl<T> Default for IterMut<'_, T> {
12101210
fn default() -> Self {
12111211
IterMut { head: None, tail: None, len: 0, marker: Default::default() }
@@ -1915,7 +1915,7 @@ impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> {}
19151915
#[stable(feature = "fused", since = "1.26.0")]
19161916
impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {}
19171917

1918-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
1918+
#[stable(feature = "default_iters", since = "1.70.0")]
19191919
impl<T> Default for IntoIter<T> {
19201920
/// Creates an empty `linked_list::IntoIter`.
19211921
///

library/alloc/src/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ impl<T> Rc<T> {
693693
/// This is equivalent to `Rc::try_unwrap(this).ok()`. (Note that these are not equivalent for
694694
/// [`Arc`](crate::sync::Arc), due to race conditions that do not apply to `Rc`.)
695695
#[inline]
696-
#[stable(feature = "rc_into_inner", since = "CURRENT_RUSTC_VERSION")]
696+
#[stable(feature = "rc_into_inner", since = "1.70.0")]
697697
pub fn into_inner(this: Self) -> Option<T> {
698698
Rc::try_unwrap(this).ok()
699699
}

library/alloc/src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ impl<T> Arc<T> {
793793
/// y_thread.join().unwrap();
794794
/// ```
795795
#[inline]
796-
#[stable(feature = "arc_into_inner", since = "CURRENT_RUSTC_VERSION")]
796+
#[stable(feature = "arc_into_inner", since = "1.70.0")]
797797
pub fn into_inner(this: Self) -> Option<T> {
798798
// Make sure that the ordinary `Drop` implementation isn’t called as well
799799
let mut this = mem::ManuallyDrop::new(this);

library/alloc/src/vec/into_iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {}
342342
#[unstable(feature = "trusted_len", issue = "37572")]
343343
unsafe impl<T, A: Allocator> TrustedLen for IntoIter<T, A> {}
344344

345-
#[stable(feature = "default_iters", since = "CURRENT_RUSTC_VERSION")]
345+
#[stable(feature = "default_iters", since = "1.70.0")]
346346
impl<T, A> Default for IntoIter<T, A>
347347
where
348348
A: Allocator + Default,

0 commit comments

Comments
 (0)