Skip to content

Commit 8a6b67f

Browse files
committed
Auto merge of #115094 - Mark-Simulacrum:bootstrap-update, r=ozkanonur
Update bootstrap compiler to 1.73.0 beta
2 parents 0b31792 + 0a91606 commit 8a6b67f

File tree

46 files changed

+443
-472
lines changed

Some content is hidden

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

46 files changed

+443
-472
lines changed

compiler/rustc_abi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![cfg_attr(feature = "nightly", feature(step_trait, rustc_attrs, min_specialization))]
2-
#![cfg_attr(all(not(bootstrap), feature = "nightly"), allow(internal_features))]
2+
#![cfg_attr(feature = "nightly", allow(internal_features))]
33

44
use std::fmt;
55
#[cfg(feature = "nightly")]

compiler/rustc_arena/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#![deny(unsafe_op_in_unsafe_fn)]
2525
#![deny(rustc::untranslatable_diagnostic)]
2626
#![deny(rustc::diagnostic_outside_of_impl)]
27-
#![cfg_attr(not(bootstrap), allow(internal_features))]
27+
#![allow(internal_features)]
2828
#![allow(clippy::mut_from_ref)] // Arena allocators are one of the places where this pattern is fine.
2929

3030
use smallvec::SmallVec;

compiler/rustc_borrowck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#![feature(trusted_step)]
1212
#![feature(try_blocks)]
1313
#![recursion_limit = "256"]
14-
#![cfg_attr(not(bootstrap), allow(internal_features))]
14+
#![allow(internal_features)]
1515

1616
#[macro_use]
1717
extern crate rustc_middle;

compiler/rustc_data_structures/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#![allow(rustc::potential_query_instability)]
3838
#![deny(rustc::untranslatable_diagnostic)]
3939
#![deny(rustc::diagnostic_outside_of_impl)]
40-
#![cfg_attr(not(bootstrap), allow(internal_features))]
40+
#![allow(internal_features)]
4141
#![deny(unsafe_op_in_unsafe_fn)]
4242

4343
#[macro_use]

compiler/rustc_error_messages/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![feature(type_alias_impl_trait)]
55
#![deny(rustc::untranslatable_diagnostic)]
66
#![deny(rustc::diagnostic_outside_of_impl)]
7-
#![cfg_attr(not(bootstrap), allow(internal_features))]
7+
#![allow(internal_features)]
88

99
#[macro_use]
1010
extern crate tracing;

compiler/rustc_errors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#![feature(box_patterns)]
1616
#![feature(error_reporter)]
1717
#![allow(incomplete_features)]
18-
#![cfg_attr(not(bootstrap), allow(internal_features))]
18+
#![allow(internal_features)]
1919

2020
#[macro_use]
2121
extern crate rustc_macros;

compiler/rustc_expand/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#![feature(try_blocks)]
1212
#![recursion_limit = "256"]
1313
#![deny(rustc::untranslatable_diagnostic)]
14-
#![cfg_attr(not(bootstrap), allow(internal_features))]
14+
#![allow(internal_features)]
1515

1616
#[macro_use]
1717
extern crate rustc_macros;

compiler/rustc_feature/src/active.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ declare_features! (
282282
(active, arm_target_feature, "1.27.0", Some(44839), None),
283283
(active, avx512_target_feature, "1.27.0", Some(44839), None),
284284
(active, bpf_target_feature, "1.54.0", Some(44839), None),
285-
(active, csky_target_feature, "CURRENT_RUSTC_VERSION", Some(44839), None),
285+
(active, csky_target_feature, "1.73.0", Some(44839), None),
286286
(active, ermsb_target_feature, "1.49.0", Some(44839), None),
287287
(active, hexagon_target_feature, "1.27.0", Some(44839), None),
288288
(active, mips_target_feature, "1.27.0", Some(44839), None),
@@ -315,7 +315,7 @@ declare_features! (
315315
/// Allows `extern "ptx-*" fn()`.
316316
(active, abi_ptx, "1.15.0", Some(38788), None),
317317
/// Allows `extern "riscv-interrupt-m" fn()` and `extern "riscv-interrupt-s" fn()`.
318-
(active, abi_riscv_interrupt, "CURRENT_RUSTC_VERSION", Some(111889), None),
318+
(active, abi_riscv_interrupt, "1.73.0", Some(111889), None),
319319
/// Allows `extern "x86-interrupt" fn()`.
320320
(active, abi_x86_interrupt, "1.17.0", Some(40180), None),
321321
/// Allows additional const parameter types, such as `&'static str` or user defined types
@@ -341,7 +341,7 @@ declare_features! (
341341
/// Allows async functions to be declared, implemented, and used in traits.
342342
(active, async_fn_in_trait, "1.66.0", Some(91611), None),
343343
/// Allows `#[track_caller]` on async functions.
344-
(active, async_fn_track_caller, "CURRENT_RUSTC_VERSION", Some(110011), None),
344+
(active, async_fn_track_caller, "1.73.0", Some(110011), None),
345345
/// Allows builtin # foo() syntax
346346
(active, builtin_syntax, "1.71.0", Some(110680), None),
347347
/// Allows `c"foo"` literals.
@@ -353,7 +353,7 @@ declare_features! (
353353
/// Allows the use of `#[cfg(overflow_checks)` to check if integer overflow behaviour.
354354
(active, cfg_overflow_checks, "1.71.0", Some(111466), None),
355355
/// Provides the relocation model information as cfg entry
356-
(active, cfg_relocation_model, "CURRENT_RUSTC_VERSION", Some(114929), None),
356+
(active, cfg_relocation_model, "1.73.0", Some(114929), None),
357357
/// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
358358
(active, cfg_sanitize, "1.41.0", Some(39699), None),
359359
/// Allows `cfg(target_abi = "...")`.
@@ -411,7 +411,7 @@ declare_features! (
411411
/// Allows having using `suggestion` in the `#[deprecated]` attribute.
412412
(active, deprecated_suggestion, "1.61.0", Some(94785), None),
413413
/// Allows using the `#[diagnostic]` attribute tool namespace
414-
(active, diagnostic_namespace, "CURRENT_RUSTC_VERSION", Some(94785), None),
414+
(active, diagnostic_namespace, "1.73.0", Some(94785), None),
415415
/// Controls errors in trait implementations.
416416
(active, do_not_recommend, "1.67.0", Some(51992), None),
417417
/// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.
@@ -456,7 +456,7 @@ declare_features! (
456456
/// Allows non-trivial generic constants which have to have wfness manually propagated to callers
457457
(incomplete, generic_const_exprs, "1.56.0", Some(76560), None),
458458
/// Allows generic parameters and where-clauses on free & associated const items.
459-
(incomplete, generic_const_items, "CURRENT_RUSTC_VERSION", Some(113521), None),
459+
(incomplete, generic_const_items, "1.73.0", Some(113521), None),
460460
/// Allows using `..=X` as a patterns in slices.
461461
(active, half_open_range_patterns_in_slices, "1.66.0", Some(67264), None),
462462
/// Allows `if let` guard in match arms.

compiler/rustc_hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#![recursion_limit = "256"]
1414
#![deny(rustc::untranslatable_diagnostic)]
1515
#![deny(rustc::diagnostic_outside_of_impl)]
16-
#![cfg_attr(not(bootstrap), allow(internal_features))]
16+
#![allow(internal_features)]
1717

1818
#[macro_use]
1919
extern crate rustc_macros;

compiler/rustc_index/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
test
1313
)
1414
)]
15-
#![cfg_attr(all(not(bootstrap), feature = "nightly"), allow(internal_features))]
15+
#![cfg_attr(feature = "nightly", allow(internal_features))]
1616

1717
#[cfg(feature = "nightly")]
1818
pub mod bit_set;

0 commit comments

Comments
 (0)