Skip to content

Commit 4eca99a

Browse files
committed
Auto merge of rust-lang#140887 - pietroalbini:pa-bootstrap-update, r=compiler-errors
Stage0 bootstrap update This PR [follows the release process](https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday) to update the stage0 compiler. The only thing of note is rust-lang@58651d1, which was flagged by clippy as a correctness fix. I think allowing that lint in our case makes sense, but it's worth to have a second pair of eyes on it. r? `@Mark-Simulacrum`
2 parents f6b5da7 + 8ce7783 commit 4eca99a

File tree

111 files changed

+780
-1016
lines changed

Some content is hidden

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

111 files changed

+780
-1016
lines changed

compiler/rustc_ast/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
9-
#![cfg_attr(bootstrap, feature(let_chains))]
109
#![doc(
1110
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
1211
test(attr(deny(warnings)))

compiler/rustc_ast_lowering/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
3333
// tidy-alphabetical-start
3434
#![allow(internal_features)]
35-
#![cfg_attr(bootstrap, feature(let_chains))]
3635
#![doc(rust_logo)]
3736
#![feature(assert_matches)]
3837
#![feature(box_patterns)]

compiler/rustc_ast_passes/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
// tidy-alphabetical-start
66
#![allow(internal_features)]
7-
#![cfg_attr(bootstrap, feature(let_chains))]
87
#![doc(rust_logo)]
98
#![feature(box_patterns)]
109
#![feature(if_let_guard)]

compiler/rustc_attr_data_structures/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![doc(rust_logo)]
54
#![feature(rustdoc_internals)]
65
// tidy-alphabetical-end

compiler/rustc_attr_parsing/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
7878
// tidy-alphabetical-start
7979
#![allow(internal_features)]
80-
#![cfg_attr(bootstrap, feature(let_chains))]
8180
#![doc(rust_logo)]
8281
#![feature(rustdoc_internals)]
8382
#![recursion_limit = "256"]

compiler/rustc_borrowck/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![cfg_attr(bootstrap, feature(let_chains))]
65
#![doc(rust_logo)]
76
#![feature(assert_matches)]
87
#![feature(box_patterns)]

compiler/rustc_builtin_macros/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![allow(internal_features)]
66
#![allow(rustc::diagnostic_outside_of_impl)]
77
#![allow(rustc::untranslatable_diagnostic)]
8-
#![cfg_attr(bootstrap, feature(let_chains))]
98
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
109
#![doc(rust_logo)]
1110
#![feature(assert_matches)]

compiler/rustc_codegen_llvm/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
9-
#![cfg_attr(bootstrap, feature(let_chains))]
109
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1110
#![doc(rust_logo)]
1211
#![feature(assert_matches)]

compiler/rustc_codegen_ssa/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
44
#![allow(rustc::untranslatable_diagnostic)]
5-
#![cfg_attr(bootstrap, feature(let_chains))]
65
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
76
#![doc(rust_logo)]
87
#![feature(assert_matches)]

compiler/rustc_const_eval/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
4-
#![cfg_attr(bootstrap, feature(let_chains))]
54
#![doc(rust_logo)]
65
#![feature(assert_matches)]
76
#![feature(box_patterns)]

compiler/rustc_driver_impl/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
99
#![allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
10-
#![cfg_attr(bootstrap, feature(let_chains))]
1110
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1211
#![doc(rust_logo)]
1312
#![feature(decl_macro)]

compiler/rustc_errors/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#![allow(internal_features)]
88
#![allow(rustc::diagnostic_outside_of_impl)]
99
#![allow(rustc::untranslatable_diagnostic)]
10-
#![cfg_attr(bootstrap, feature(let_chains))]
1110
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1211
#![doc(rust_logo)]
1312
#![feature(array_windows)]

compiler/rustc_expand/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
33
#![allow(rustc::diagnostic_outside_of_impl)]
4-
#![cfg_attr(bootstrap, feature(let_chains))]
54
#![doc(rust_logo)]
65
#![feature(array_windows)]
76
#![feature(associated_type_defaults)]

compiler/rustc_feature/src/accepted.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ declare_features! (
9696
/// Allows `#[cfg_attr(predicate, multiple, attributes, here)]`.
9797
(accepted, cfg_attr_multi, "1.33.0", Some(54881)),
9898
/// Allows the use of `#[cfg(<true/false>)]`.
99-
(accepted, cfg_boolean_literals, "CURRENT_RUSTC_VERSION", Some(131204)),
99+
(accepted, cfg_boolean_literals, "1.88.0", Some(131204)),
100100
/// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests.
101101
(accepted, cfg_doctest, "1.40.0", Some(62210)),
102102
/// Enables `#[cfg(panic = "...")]` config key.
@@ -301,7 +301,7 @@ declare_features! (
301301
/// For example, you can write `Foo(a, ref b)` where `a` is by-move and `b` is by-ref.
302302
(accepted, move_ref_pattern, "1.49.0", Some(68354)),
303303
/// Allows using `#[naked]` on functions.
304-
(accepted, naked_functions, "CURRENT_RUSTC_VERSION", Some(90957)),
304+
(accepted, naked_functions, "1.88.0", Some(90957)),
305305
/// Allows specifying modifiers in the link attribute: `#[link(modifiers = "...")]`
306306
(accepted, native_link_modifiers, "1.61.0", Some(81490)),
307307
/// Allows specifying the bundle link modifier

compiler/rustc_feature/src/removed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ declare_features! (
143143
(removed, infer_static_outlives_requirements, "1.63.0", Some(54185),
144144
Some("removed as it caused some confusion and discussion was inactive for years")),
145145
/// Allow anonymous constants from an inline `const` block in pattern position
146-
(removed, inline_const_pat, "CURRENT_RUSTC_VERSION", Some(76001),
146+
(removed, inline_const_pat, "1.88.0", Some(76001),
147147
Some("removed due to implementation concerns as it requires significant refactorings")),
148148
/// Lazily evaluate constants. This allows constants to depend on type parameters.
149149
(removed, lazy_normalization_consts, "1.46.0", Some(72219), Some("superseded by `generic_const_exprs`")),

compiler/rustc_feature/src/unstable.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ declare_features! (
206206
/// Allows access to the emscripten_wasm_eh config, used by panic_unwind and unwind
207207
(internal, cfg_emscripten_wasm_eh, "1.86.0", None),
208208
/// Allows checking whether or not the backend correctly supports unstable float types.
209-
(internal, cfg_target_has_reliable_f16_f128, "CURRENT_RUSTC_VERSION", None),
209+
(internal, cfg_target_has_reliable_f16_f128, "1.88.0", None),
210210
/// Allows identifying the `compiler_builtins` crate.
211211
(internal, compiler_builtins, "1.13.0", None),
212212
/// Allows writing custom MIR
@@ -316,7 +316,7 @@ declare_features! (
316316
// Unstable `#[target_feature]` directives.
317317
(unstable, aarch64_unstable_target_feature, "1.82.0", Some(44839)),
318318
(unstable, aarch64_ver_target_feature, "1.27.0", Some(44839)),
319-
(unstable, apx_target_feature, "CURRENT_RUSTC_VERSION", Some(139284)),
319+
(unstable, apx_target_feature, "1.88.0", Some(139284)),
320320
(unstable, arm_target_feature, "1.27.0", Some(44839)),
321321
(unstable, avx512_target_feature, "1.27.0", Some(44839)),
322322
(unstable, bpf_target_feature, "1.54.0", Some(44839)),
@@ -327,7 +327,7 @@ declare_features! (
327327
(unstable, loongarch_target_feature, "1.73.0", Some(44839)),
328328
(unstable, m68k_target_feature, "1.85.0", Some(134328)),
329329
(unstable, mips_target_feature, "1.27.0", Some(44839)),
330-
(unstable, movrs_target_feature, "CURRENT_RUSTC_VERSION", Some(137976)),
330+
(unstable, movrs_target_feature, "1.88.0", Some(137976)),
331331
(unstable, powerpc_target_feature, "1.27.0", Some(44839)),
332332
(unstable, prfchw_target_feature, "1.78.0", Some(44839)),
333333
(unstable, riscv_target_feature, "1.45.0", Some(44839)),
@@ -385,7 +385,7 @@ declare_features! (
385385
/// Allows associated type defaults.
386386
(unstable, associated_type_defaults, "1.2.0", Some(29661)),
387387
/// Allows implementing `AsyncDrop`.
388-
(incomplete, async_drop, "CURRENT_RUSTC_VERSION", Some(126482)),
388+
(incomplete, async_drop, "1.88.0", Some(126482)),
389389
/// Allows async functions to be called from `dyn Trait`.
390390
(incomplete, async_fn_in_dyn_trait, "1.85.0", Some(133119)),
391391
/// Allows `#[track_caller]` on async functions.
@@ -395,7 +395,7 @@ declare_features! (
395395
/// Allows `async` trait bound modifier.
396396
(unstable, async_trait_bounds, "1.85.0", Some(62290)),
397397
/// Allows using Intel AVX10 target features and intrinsics
398-
(unstable, avx10_target_feature, "CURRENT_RUSTC_VERSION", Some(138843)),
398+
(unstable, avx10_target_feature, "1.88.0", Some(138843)),
399399
/// Allows using C-variadics.
400400
(unstable, c_variadic, "1.34.0", Some(44930)),
401401
/// Allows the use of `#[cfg(contract_checks)` to check if contract checks are enabled.
@@ -483,11 +483,11 @@ declare_features! (
483483
/// Allows exhaustive pattern matching on types that contain uninhabited types.
484484
(unstable, exhaustive_patterns, "1.13.0", Some(51085)),
485485
/// Disallows `extern` without an explicit ABI.
486-
(unstable, explicit_extern_abis, "CURRENT_RUSTC_VERSION", Some(134986)),
486+
(unstable, explicit_extern_abis, "1.88.0", Some(134986)),
487487
/// Allows explicit tail calls via `become` expression.
488488
(incomplete, explicit_tail_calls, "1.72.0", Some(112788)),
489489
/// Allows using `#[export_stable]` which indicates that an item is exportable.
490-
(incomplete, export_stable, "CURRENT_RUSTC_VERSION", Some(139939)),
490+
(incomplete, export_stable, "1.88.0", Some(139939)),
491491
/// Allows using `aapcs`, `efiapi`, `sysv64` and `win64` as calling conventions
492492
/// for functions with varargs.
493493
(unstable, extended_varargs_abi_support, "1.65.0", Some(100189)),
@@ -512,7 +512,7 @@ declare_features! (
512512
/// Allows impls for the Freeze trait.
513513
(internal, freeze_impls, "1.78.0", Some(121675)),
514514
/// Frontmatter `---` blocks for use by external tools.
515-
(unstable, frontmatter, "CURRENT_RUSTC_VERSION", Some(136889)),
515+
(unstable, frontmatter, "1.88.0", Some(136889)),
516516
/// Allows defining gen blocks and `gen fn`.
517517
(unstable, gen_blocks, "1.75.0", Some(117078)),
518518
/// Infer generic args for both consts and types.
@@ -575,7 +575,7 @@ declare_features! (
575575
/// Allows `mut ref` and `mut ref mut` identifier patterns.
576576
(incomplete, mut_ref, "1.79.0", Some(123076)),
577577
/// Allows using `#[naked]` on `extern "Rust"` functions.
578-
(unstable, naked_functions_rustic_abi, "CURRENT_RUSTC_VERSION", Some(138997)),
578+
(unstable, naked_functions_rustic_abi, "1.88.0", Some(138997)),
579579
/// Allows using `#[target_feature(enable = "...")]` on `#[naked]` on functions.
580580
(unstable, naked_functions_target_feature, "1.86.0", Some(138568)),
581581
/// Allows specifying the as-needed link modifier
@@ -641,7 +641,7 @@ declare_features! (
641641
/// Allows string patterns to dereference values to match them.
642642
(unstable, string_deref_patterns, "1.67.0", Some(87121)),
643643
/// Allows `super let` statements.
644-
(unstable, super_let, "CURRENT_RUSTC_VERSION", Some(139076)),
644+
(unstable, super_let, "1.88.0", Some(139076)),
645645
/// Allows subtrait items to shadow supertrait items.
646646
(unstable, supertrait_item_shadowing, "1.86.0", Some(89151)),
647647
/// Allows using `#[thread_local]` on `static` items.

compiler/rustc_fluent_macro/src/fluent.rs

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ fn invocation_relative_path_to_absolute(span: Span, path: &str) -> PathBuf {
2525
path.to_path_buf()
2626
} else {
2727
// `/a/b/c/foo/bar.rs` contains the current macro invocation
28-
#[cfg(bootstrap)]
29-
let mut source_file_path = span.source_file().path();
30-
#[cfg(not(bootstrap))]
3128
let mut source_file_path = span.local_file().unwrap();
3229
// `/a/b/c/foo/`
3330
source_file_path.pop();

compiler/rustc_hir/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
// tidy-alphabetical-start
66
#![allow(internal_features)]
7-
#![cfg_attr(bootstrap, feature(let_chains))]
87
#![feature(associated_type_defaults)]
98
#![feature(box_patterns)]
109
#![feature(closure_track_caller)]

compiler/rustc_hir_analysis/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ This API is completely unstable and subject to change.
5959
#![allow(internal_features)]
6060
#![allow(rustc::diagnostic_outside_of_impl)]
6161
#![allow(rustc::untranslatable_diagnostic)]
62-
#![cfg_attr(bootstrap, feature(let_chains))]
6362
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
6463
#![doc(rust_logo)]
6564
#![feature(assert_matches)]

compiler/rustc_hir_pretty/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//! the definitions in this file have equivalents in `rustc_ast_pretty`.
33
44
// tidy-alphabetical-start
5-
#![cfg_attr(bootstrap, feature(let_chains))]
65
#![recursion_limit = "256"]
76
// tidy-alphabetical-end
87

compiler/rustc_hir_typeck/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// tidy-alphabetical-start
22
#![allow(rustc::diagnostic_outside_of_impl)]
33
#![allow(rustc::untranslatable_diagnostic)]
4-
#![cfg_attr(bootstrap, feature(let_chains))]
54
#![feature(array_windows)]
65
#![feature(box_patterns)]
76
#![feature(if_let_guard)]

compiler/rustc_infer/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#![allow(internal_features)]
1717
#![allow(rustc::diagnostic_outside_of_impl)]
1818
#![allow(rustc::untranslatable_diagnostic)]
19-
#![cfg_attr(bootstrap, feature(let_chains))]
2019
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2120
#![doc(rust_logo)]
2221
#![feature(assert_matches)]

compiler/rustc_interface/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(bootstrap, feature(let_chains))]
32
#![feature(decl_macro)]
43
#![feature(file_buffered)]
54
#![feature(iter_intersperse)]

compiler/rustc_lint/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
2222
// tidy-alphabetical-start
2323
#![allow(internal_features)]
24-
#![cfg_attr(bootstrap, feature(let_chains))]
2524
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2625
#![doc(rust_logo)]
2726
#![feature(array_windows)]

compiler/rustc_macros/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(rustc::default_hash_types)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![feature(if_let_guard)]
54
#![feature(never_type)]
65
#![feature(proc_macro_diagnostic)]

compiler/rustc_metadata/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
54
#![doc(rust_logo)]
65
#![feature(coroutines)]

compiler/rustc_middle/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#![allow(internal_features)]
2929
#![allow(rustc::diagnostic_outside_of_impl)]
3030
#![allow(rustc::untranslatable_diagnostic)]
31-
#![cfg_attr(bootstrap, feature(let_chains))]
3231
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
3332
#![doc(rust_logo)]
3433
#![feature(allocator_api)]

compiler/rustc_mir_build/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// tidy-alphabetical-start
44
#![allow(rustc::diagnostic_outside_of_impl)]
55
#![allow(rustc::untranslatable_diagnostic)]
6-
#![cfg_attr(bootstrap, feature(let_chains))]
76
#![feature(assert_matches)]
87
#![feature(box_patterns)]
98
#![feature(if_let_guard)]

compiler/rustc_mir_dataflow/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(bootstrap, feature(let_chains))]
32
#![feature(assert_matches)]
43
#![feature(associated_type_defaults)]
54
#![feature(box_patterns)]

compiler/rustc_mir_transform/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(bootstrap, feature(let_chains))]
32
#![feature(array_windows)]
43
#![feature(assert_matches)]
54
#![feature(box_patterns)]

compiler/rustc_monomorphize/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(bootstrap, feature(let_chains))]
32
#![feature(array_windows)]
43
#![feature(file_buffered)]
54
#![feature(if_let_guard)]

compiler/rustc_parse/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![allow(internal_features)]
55
#![allow(rustc::diagnostic_outside_of_impl)]
66
#![allow(rustc::untranslatable_diagnostic)]
7-
#![cfg_attr(bootstrap, feature(let_chains))]
87
#![feature(assert_matches)]
98
#![feature(box_patterns)]
109
#![feature(debug_closure_helpers)]

compiler/rustc_passes/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
// tidy-alphabetical-start
88
#![allow(internal_features)]
9-
#![cfg_attr(bootstrap, feature(let_chains))]
109
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1110
#![doc(rust_logo)]
1211
#![feature(box_patterns)]

compiler/rustc_privacy/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
54
#![doc(rust_logo)]
65
#![feature(associated_type_defaults)]

compiler/rustc_query_system/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(rustc::potential_query_instability, internal_features)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![feature(assert_matches)]
54
#![feature(core_intrinsics)]
65
#![feature(dropck_eyepatch)]

compiler/rustc_resolve/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#![allow(internal_features)]
1111
#![allow(rustc::diagnostic_outside_of_impl)]
1212
#![allow(rustc::untranslatable_diagnostic)]
13-
#![cfg_attr(bootstrap, feature(let_chains))]
1413
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
1514
#![doc(rust_logo)]
1615
#![feature(assert_matches)]

compiler/rustc_sanitizers/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//! compiler.
55
66
// tidy-alphabetical-start
7-
#![cfg_attr(bootstrap, feature(let_chains))]
87
// tidy-alphabetical-end
98

109
pub mod cfi;

compiler/rustc_session/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(internal_features)]
3-
#![cfg_attr(bootstrap, feature(let_chains))]
43
#![feature(default_field_values)]
54
#![feature(iter_intersperse)]
65
#![feature(rustc_attrs)]

compiler/rustc_span/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
1818
// tidy-alphabetical-start
1919
#![allow(internal_features)]
20-
#![cfg_attr(bootstrap, feature(let_chains))]
2120
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2221
#![doc(rust_logo)]
2322
#![feature(array_windows)]

compiler/rustc_symbol_mangling/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
9090
// tidy-alphabetical-start
9191
#![allow(internal_features)]
92-
#![cfg_attr(bootstrap, feature(let_chains))]
9392
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
9493
#![doc(rust_logo)]
9594
#![feature(assert_matches)]

0 commit comments

Comments
 (0)