Skip to content

Commit 793ada2

Browse files
authored
Rollup merge of #165778 - cuviper:bump-stage0, r=jieyouxu,Mark-Simulacrum
Bump stage0 to 1.101.0-beta.1 https://forge.rust-lang.org/release/process.html#default-branch-bootstrap-update-and-crater-tuesday - run replace-version-placeholder (cherry-picked from beta) - bump stage0 to 1.101.0-beta.1 - update STAGE0_MISSING_TARGETS - reformat with `cfg_select!` awareness - update `cfg(bootstrap)`
2 parents 6809e65 + b904030 commit 793ada2

65 files changed

Lines changed: 1697 additions & 1772 deletions

File tree

Some content is hidden

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

‎compiler/rustc_arena/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// tidy-alphabetical-start
1111
#![allow(clippy::mut_from_ref)] // Arena allocators are one place where this pattern is fine.
1212
#![allow(internal_features)]
13-
#![cfg_attr(bootstrap, feature(unwrap_infallible))]
1413
#![cfg_attr(test, feature(test))]
1514
#![deny(unsafe_op_in_unsafe_fn)]
1615
#![doc(test(no_crate_inject, attr(deny(warnings))))]

‎compiler/rustc_data_structures/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![allow(rustc::default_hash_types)]
1212
#![allow(rustc::potential_query_instability)]
1313
#![cfg_attr(bootstrap, feature(ptr_alignment_type))]
14-
#![cfg_attr(bootstrap, feature(unwrap_infallible))]
1514
#![cfg_attr(test, feature(test))]
1615
#![deny(unsafe_op_in_unsafe_fn)]
1716
#![feature(allocator_ext)]

‎compiler/rustc_feature/src/accepted.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ declare_features! (
350350
/// Allows using multiple nested field accesses in offset_of!
351351
(accepted, offset_of_nested, "1.82.0", Some(120140)),
352352
/// Allows using `#[optimize(X)]`.
353-
(accepted, optimize_attribute, "CURRENT_RUSTC_VERSION", Some(54882)),
353+
(accepted, optimize_attribute, "1.101.0", Some(54882)),
354354
/// Allows the use of or-patterns (e.g., `0 | 1`).
355355
(accepted, or_patterns, "1.53.0", Some(54883)),
356356
/// Allows using `+bundle,+whole-archive` link modifiers with native libs.

‎compiler/rustc_feature/src/unstable.rs‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ declare_features! (
309309
/// Allows using the `#[fundamental]` attribute.
310310
(unstable, fundamental, "1.0.0", Some(29635)),
311311
/// Allows internal syntax.
312-
(internal, internal_syntax, "CURRENT_RUSTC_VERSION", Some(110680)),
312+
(internal, internal_syntax, "1.101.0", Some(110680)),
313313
/// Allows using `#[link_name="llvm.*"]`.
314314
(internal, link_llvm_intrinsics, "1.0.0", Some(29602)),
315315
/// Allows using the `#[linkage = ".."]` attribute.
@@ -552,17 +552,17 @@ declare_features! (
552552
/// Traits for function pointers and items
553553
(unstable, fn_static, "1.100.0", Some(148768)),
554554
/// Allows using forced keywords `k#fn`.
555-
(unstable, forced_keywords, "CURRENT_RUSTC_VERSION", Some(153839)),
555+
(unstable, forced_keywords, "1.101.0", Some(153839)),
556556
/// The `Forget` autotrait.
557-
(incomplete, forget_trait, "CURRENT_RUSTC_VERSION", Some(165370)),
557+
(incomplete, forget_trait, "1.101.0", Some(165370)),
558558
/// Allows impls for the Freeze trait.
559559
(internal, freeze_impls, "1.78.0", Some(121675)),
560560
/// Frontmatter `---` blocks for use by external tools.
561561
(unstable, frontmatter, "1.88.0", Some(136889)),
562562
/// Allow function args to be const generics
563-
(incomplete, function_arg_const_generics, "CURRENT_RUSTC_VERSION", Some(163261)),
563+
(incomplete, function_arg_const_generics, "1.101.0", Some(163261)),
564564
/// Allows using ADTs in directly represented generic const args.
565-
(incomplete, gca_adts, "CURRENT_RUSTC_VERSION", Some(163420)),
565+
(incomplete, gca_adts, "1.101.0", Some(163420)),
566566
/// Allows using generics in more complex const expressions, based on definitional equality.
567567
(incomplete, gca_const_items, "1.95.0", Some(151972)),
568568
/// Allows directly represented gca_const_items without the `gca!` macro.
@@ -636,7 +636,7 @@ declare_features! (
636636
(unstable, macro_metavar_expr_concat, "1.81.0", Some(124225)),
637637
/// Allows explicitly marking type aliases as unchecked / opting type aliases
638638
/// out of being checked even if `checked_type_aliases` is enabled or they're a TAIT.
639-
(unstable, marked_unchecked_type_aliases, "CURRENT_RUSTC_VERSION", Some(112792)),
639+
(unstable, marked_unchecked_type_aliases, "1.101.0", Some(112792)),
640640
/// Allows `#[marker]` on certain traits allowing overlapping implementations.
641641
(unstable, marker_trait_attr, "1.30.0", Some(29864)),
642642
/// Allows additional const parameter types, such as [u8; 10] or user defined types.
@@ -651,9 +651,9 @@ declare_features! (
651651
/// Allows qualified paths in struct expressions, struct patterns and tuple struct patterns.
652652
(unstable, more_qualified_paths, "1.54.0", Some(86935)),
653653
/// The `movdir64b` target feature on x86.
654-
(unstable, movdir64b_target_feature, "CURRENT_RUSTC_VERSION", Some(163741)),
654+
(unstable, movdir64b_target_feature, "1.101.0", Some(163741)),
655655
/// The `movdiri` target feature on x86.
656-
(unstable, movdiri_target_feature, "CURRENT_RUSTC_VERSION", Some(163741)),
656+
(unstable, movdiri_target_feature, "1.101.0", Some(163741)),
657657
/// Allows `move(expr)` in closures.
658658
(incomplete, move_expr, "1.97.0", Some(155050)),
659659
/// The `Move` autotrait.

‎compiler/rustc_hir_analysis/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ This API is completely unstable and subject to change.
5656
*/
5757

5858
// tidy-alphabetical-start
59-
#![cfg_attr(bootstrap, feature(unwrap_infallible))]
6059
#![feature(default_field_values)]
6160
#![feature(gen_blocks)]
6261
#![feature(iter_intersperse)]

‎compiler/rustc_lint/src/let_underscore.rs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,15 @@ declare_lint! {
101101
/// of at end of scope, which is typically incorrect.
102102
///
103103
/// ### Example
104-
#[cfg_attr(bootstrap, doc = "```rust")]
105-
#[cfg_attr(not(bootstrap), doc = "```rust,compile_fail")]
104+
/// ```rust,compile_fail
106105
/// use std::mem::DropGuard;
107106
///
108107
/// // The closure runs immediately instead of at the end of the scope,
109108
/// // which is probably not intended.
110109
/// let _ = DropGuard::new((), |_| {
111110
/// println!("cleaning up");
112111
/// });
113-
#[cfg_attr(bootstrap, doc = "```")]
114-
#[cfg_attr(not(bootstrap), doc = "```")]
112+
/// ```
115113
///
116114
/// {{produces}}
117115
///

‎compiler/rustc_lint/src/unmarked_unchecked_type_aliases.rs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ declare_lint! {
1111
///
1212
/// ### Example
1313
///
14-
#[cfg_attr(bootstrap, doc = "```rust,ignore")]
15-
#[cfg_attr(not(bootstrap), doc = "```rust")]
14+
/// ```rust
1615
/// #![feature(marked_unchecked_type_aliases)]
1716
/// #![warn(unmarked_unchecked_type_aliases)]
1817
///
1918
/// type Alias = [(); panic!()];
20-
#[cfg_attr(bootstrap, doc = "```")]
21-
#[cfg_attr(not(bootstrap), doc = "```")]
19+
/// ```
2220
///
2321
/// {{produces}}
2422
///

‎compiler/rustc_lint_defs/src/builtin.rs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6027,12 +6027,10 @@ declare_lint! {
60276027
///
60286028
/// ### Example
60296029
///
6030-
#[cfg_attr(bootstrap, doc = "```rust,ignore")]
6031-
#[cfg_attr(not(bootstrap), doc = "```rust,compile_fail")]
6030+
/// ```rust,compile_fail
60326031
/// #[no_link]
60336032
/// extern crate std;
6034-
#[cfg_attr(bootstrap, doc = "```")]
6035-
#[cfg_attr(not(bootstrap), doc = "```")]
6033+
/// ```
60366034
///
60376035
/// {{produces}}
60386036
///

‎compiler/rustc_middle/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
// tidy-alphabetical-start
2828
#![allow(internal_features)]
2929
#![allow(rustc::direct_use_of_rustc_type_ir)]
30-
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
3130
#![cfg_attr(bootstrap, feature(ptr_alignment_type))]
3231
#![cfg_attr(doc, feature(intra_doc_pointers))]
3332
#![feature(allocator_ext)]

‎compiler/rustc_parse/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! The main parser interface.
22
33
// tidy-alphabetical-start
4-
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
54
#![cfg_attr(test, feature(iter_order_by))]
65
#![feature(default_field_values)]
76
#![feature(deref_patterns)]

0 commit comments

Comments
 (0)