Skip to content

Commit e1d7dec

Browse files
committed
Auto merge of #102051 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
Update bootstrap compiler to 1.65.0 This PR updates the bootstrap compiler to Rust 1.65.0, removing the various `cfg(bootstrap)`s. r? `@Mark-Simulacrum`
2 parents 84946fe + f7b0c85 commit e1d7dec

File tree

93 files changed

+385
-1678
lines changed

Some content is hidden

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

93 files changed

+385
-1678
lines changed

Diff for: compiler/rustc_ast/src/ast.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3046,7 +3046,6 @@ mod size_asserts {
30463046
static_assert_size!(Block, 48);
30473047
static_assert_size!(Expr, 104);
30483048
static_assert_size!(ExprKind, 72);
3049-
#[cfg(not(bootstrap))]
30503049
static_assert_size!(Fn, 184);
30513050
static_assert_size!(ForeignItem, 96);
30523051
static_assert_size!(ForeignItemKind, 24);

Diff for: compiler/rustc_ast/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
#![feature(const_default_impls)]
1414
#![feature(const_trait_impl)]
1515
#![feature(if_let_guard)]
16-
#![cfg_attr(bootstrap, feature(label_break_value))]
1716
#![feature(let_chains)]
18-
#![cfg_attr(bootstrap, feature(let_else))]
1917
#![feature(min_specialization)]
2018
#![feature(negative_impls)]
2119
#![feature(slice_internals)]

Diff for: compiler/rustc_ast_lowering/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
3333
#![feature(box_patterns)]
3434
#![feature(let_chains)]
35-
#![cfg_attr(bootstrap, feature(let_else))]
3635
#![feature(never_type)]
3736
#![recursion_limit = "256"]
3837
#![allow(rustc::potential_query_instability)]

Diff for: compiler/rustc_ast_passes/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![feature(if_let_guard)]
1010
#![feature(iter_is_partitioned)]
1111
#![feature(let_chains)]
12-
#![cfg_attr(bootstrap, feature(let_else))]
1312
#![recursion_limit = "256"]
1413

1514
#[macro_use]

Diff for: compiler/rustc_attr/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//! to this crate.
66
77
#![feature(let_chains)]
8-
#![cfg_attr(bootstrap, feature(let_else))]
98
#![deny(rustc::untranslatable_diagnostic)]
109
#![deny(rustc::diagnostic_outside_of_impl)]
1110

Diff for: compiler/rustc_borrowck/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![allow(rustc::potential_query_instability)]
44
#![feature(box_patterns)]
55
#![feature(let_chains)]
6-
#![cfg_attr(bootstrap, feature(let_else))]
76
#![feature(min_specialization)]
87
#![feature(never_type)]
98
#![feature(rustc_attrs)]

Diff for: compiler/rustc_builtin_macros/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![feature(if_let_guard)]
1010
#![feature(is_sorted)]
1111
#![feature(let_chains)]
12-
#![cfg_attr(bootstrap, feature(let_else))]
1312
#![feature(proc_macro_internals)]
1413
#![feature(proc_macro_quote)]
1514
#![recursion_limit = "256"]

Diff for: compiler/rustc_codegen_llvm/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
88
#![feature(hash_raw_entry)]
99
#![feature(let_chains)]
10-
#![cfg_attr(bootstrap, feature(let_else))]
1110
#![feature(extern_types)]
1211
#![feature(once_cell)]
1312
#![feature(iter_intersperse)]

Diff for: compiler/rustc_codegen_ssa/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
22
#![feature(box_patterns)]
33
#![feature(try_blocks)]
4-
#![cfg_attr(bootstrap, feature(let_else))]
54
#![feature(once_cell)]
65
#![feature(associated_type_bounds)]
76
#![feature(strict_provenance)]

Diff for: compiler/rustc_const_eval/src/interpret/operand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
784784
}
785785

786786
// Some nodes are used a lot. Make sure they don't unintentionally get bigger.
787-
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64", not(bootstrap)))]
787+
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
788788
mod size_asserts {
789789
use super::*;
790790
use rustc_data_structures::static_assert_size;

Diff for: compiler/rustc_const_eval/src/interpret/place.rs

-2
Original file line numberDiff line numberDiff line change
@@ -890,8 +890,6 @@ mod size_asserts {
890890
static_assert_size!(MemPlaceMeta, 24);
891891
static_assert_size!(MemPlace, 40);
892892
static_assert_size!(MPlaceTy<'_>, 64);
893-
#[cfg(not(bootstrap))]
894893
static_assert_size!(Place, 40);
895-
#[cfg(not(bootstrap))]
896894
static_assert_size!(PlaceTy<'_>, 64);
897895
}

Diff for: compiler/rustc_const_eval/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Rust MIR: a lowered representation of Rust.
1010
#![feature(decl_macro)]
1111
#![feature(exact_size_is_empty)]
1212
#![feature(let_chains)]
13-
#![cfg_attr(bootstrap, feature(let_else))]
1413
#![feature(map_try_insert)]
1514
#![feature(min_specialization)]
1615
#![feature(slice_ptr_get)]

Diff for: compiler/rustc_data_structures/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#![feature(cell_leak)]
1414
#![feature(control_flow_enum)]
1515
#![feature(extend_one)]
16-
#![cfg_attr(bootstrap, feature(let_else))]
1716
#![feature(hash_raw_entry)]
1817
#![feature(hasher_prefixfree_extras)]
1918
#![feature(maybe_uninit_uninit_array)]

Diff for: compiler/rustc_driver/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//! This API is completely unstable and subject to change.
66
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
8-
#![cfg_attr(bootstrap, feature(let_else))]
98
#![feature(once_cell)]
109
#![recursion_limit = "256"]
1110
#![allow(rustc::potential_query_instability)]

Diff for: compiler/rustc_errors/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#![feature(if_let_guard)]
88
#![feature(adt_const_params)]
99
#![feature(let_chains)]
10-
#![cfg_attr(bootstrap, feature(let_else))]
1110
#![feature(never_type)]
1211
#![feature(result_option_inspect)]
1312
#![feature(rustc_attrs)]
@@ -69,7 +68,7 @@ pub type PResult<'a, T> = Result<T, DiagnosticBuilder<'a, ErrorGuaranteed>>;
6968
// (See also the comment on `DiagnosticBuilder`'s `diagnostic` field.)
7069
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
7170
rustc_data_structures::static_assert_size!(PResult<'_, ()>, 16);
72-
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64", not(bootstrap)))]
71+
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
7372
rustc_data_structures::static_assert_size!(PResult<'_, bool>, 16);
7473

7574
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, Encodable, Decodable)]

Diff for: compiler/rustc_expand/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![feature(associated_type_defaults)]
44
#![feature(if_let_guard)]
55
#![feature(let_chains)]
6-
#![cfg_attr(bootstrap, feature(let_else))]
76
#![feature(macro_metavar_expr)]
87
#![feature(proc_macro_diagnostic)]
98
#![feature(proc_macro_internals)]

Diff for: compiler/rustc_feature/src/accepted.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ declare_features! (
162162
/// Allows capturing variables in scope using format_args!
163163
(accepted, format_args_capture, "1.58.0", Some(67984), None),
164164
/// Allows associated types to be generic, e.g., `type Foo<T>;` (RFC 1598).
165-
(accepted, generic_associated_types, "CURRENT_RUSTC_VERSION", Some(44265), None),
165+
(accepted, generic_associated_types, "1.65.0", Some(44265), None),
166166
/// Allows attributes on lifetime/type formal parameters in generics (RFC 1327).
167167
(accepted, generic_param_attrs, "1.27.0", Some(48848), None),
168168
/// Allows the `#[global_allocator]` attribute.
@@ -189,9 +189,9 @@ declare_features! (
189189
/// especially around globs and shadowing (RFC 1560).
190190
(accepted, item_like_imports, "1.15.0", Some(35120), None),
191191
/// Allows `'a: { break 'a; }`.
192-
(accepted, label_break_value, "CURRENT_RUSTC_VERSION", Some(48594), None),
192+
(accepted, label_break_value, "1.65.0", Some(48594), None),
193193
/// Allows `let...else` statements.
194-
(accepted, let_else, "CURRENT_RUSTC_VERSION", Some(87335), None),
194+
(accepted, let_else, "1.65.0", Some(87335), None),
195195
/// Allows `break {expr}` with a value inside `loop`s.
196196
(accepted, loop_break_value, "1.19.0", Some(37339), None),
197197
/// Allows use of `?` as the Kleene "at most one" operator in macros.

Diff for: compiler/rustc_feature/src/active.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ declare_features! (
341341
/// Allows to use the `#[cmse_nonsecure_entry]` attribute.
342342
(active, cmse_nonsecure_entry, "1.48.0", Some(75835), None),
343343
/// Allows use of the `#[collapse_debuginfo]` attribute.
344-
(active, collapse_debuginfo, "CURRENT_RUSTC_VERSION", Some(100758), None),
344+
(active, collapse_debuginfo, "1.65.0", Some(100758), None),
345345
/// Allows `async {}` expressions in const contexts.
346346
(active, const_async_blocks, "1.53.0", Some(85368), None),
347347
// Allows limiting the evaluation steps of const expressions
@@ -387,7 +387,7 @@ declare_features! (
387387
/// Allows `#[doc(masked)]`.
388388
(active, doc_masked, "1.21.0", Some(44027), None),
389389
/// Allows `dyn* Trait` objects.
390-
(incomplete, dyn_star, "CURRENT_RUSTC_VERSION", Some(91611), None),
390+
(incomplete, dyn_star, "1.65.0", Some(91611), None),
391391
/// Allows `X..Y` patterns.
392392
(active, exclusive_range_pattern, "1.11.0", Some(37854), None),
393393
/// Allows exhaustive pattern matching on types that contain uninhabited types.
@@ -403,7 +403,7 @@ declare_features! (
403403
/// Allows using `#[repr(align(...))]` on function items
404404
(active, fn_align, "1.53.0", Some(82232), None),
405405
/// Allows generators to be cloned.
406-
(active, generator_clone, "CURRENT_RUSTC_VERSION", Some(95360), None),
406+
(active, generator_clone, "1.65.0", Some(95360), None),
407407
/// Allows defining generators.
408408
(active, generators, "1.21.0", Some(43122), None),
409409
/// Infer generic args for both consts and types.
@@ -484,7 +484,7 @@ declare_features! (
484484
/// Allows macro attributes on expressions, statements and non-inline modules.
485485
(active, proc_macro_hygiene, "1.30.0", Some(54727), None),
486486
/// Allows the use of raw-dylibs (RFC 2627).
487-
(active, raw_dylib, "CURRENT_RUSTC_VERSION", Some(58713), None),
487+
(active, raw_dylib, "1.65.0", Some(58713), None),
488488
/// Allows `&raw const $place_expr` and `&raw mut $place_expr` expressions.
489489
(active, raw_ref_op, "1.41.0", Some(64490), None),
490490
/// Allows using the `#[register_tool]` attribute.
@@ -494,7 +494,7 @@ declare_features! (
494494
/// Allows `repr(simd)` and importing the various simd intrinsics.
495495
(active, repr_simd, "1.4.0", Some(27731), None),
496496
/// Allows return-position `impl Trait` in traits.
497-
(incomplete, return_position_impl_trait_in_trait, "CURRENT_RUSTC_VERSION", Some(91611), None),
497+
(incomplete, return_position_impl_trait_in_trait, "1.65.0", Some(91611), None),
498498
/// Allows `extern "rust-cold"`.
499499
(active, rust_cold_cc, "1.63.0", Some(97544), None),
500500
/// Allows the use of SIMD types in functions declared in `extern` blocks.
@@ -528,7 +528,7 @@ declare_features! (
528528
/// not changed from prior instances of the same struct (RFC #2528)
529529
(active, type_changing_struct_update, "1.58.0", Some(86555), None),
530530
/// Enables rustc to generate code that instructs libstd to NOT ignore SIGPIPE.
531-
(active, unix_sigpipe, "CURRENT_RUSTC_VERSION", Some(97889), None),
531+
(active, unix_sigpipe, "1.65.0", Some(97889), None),
532532
/// Allows unsized fn parameters.
533533
(active, unsized_fn_params, "1.49.0", Some(48055), None),
534534
/// Allows unsized rvalues at arguments and parameters.

Diff for: compiler/rustc_feature/src/removed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ declare_features! (
164164
(removed, quote, "1.33.0", Some(29601), None, None),
165165
(removed, reflect, "1.0.0", Some(27749), None, None),
166166
/// Allows using the `#[register_attr]` attribute.
167-
(removed, register_attr, "CURRENT_RUSTC_VERSION", Some(66080), None,
167+
(removed, register_attr, "1.65.0", Some(66080), None,
168168
Some("removed in favor of `#![register_tool]`")),
169169
/// Allows using the macros:
170170
/// + `__diagnostic_used`

Diff for: compiler/rustc_hir/src/hir.rs

-5
Original file line numberDiff line numberDiff line change
@@ -3520,14 +3520,11 @@ mod size_asserts {
35203520
static_assert_size!(FnDecl<'_>, 40);
35213521
static_assert_size!(ForeignItem<'_>, 72);
35223522
static_assert_size!(ForeignItemKind<'_>, 40);
3523-
#[cfg(not(bootstrap))]
35243523
static_assert_size!(GenericArg<'_>, 24);
35253524
static_assert_size!(GenericBound<'_>, 48);
35263525
static_assert_size!(Generics<'_>, 56);
35273526
static_assert_size!(Impl<'_>, 80);
3528-
#[cfg(not(bootstrap))]
35293527
static_assert_size!(ImplItem<'_>, 80);
3530-
#[cfg(not(bootstrap))]
35313528
static_assert_size!(ImplItemKind<'_>, 32);
35323529
static_assert_size!(Item<'_>, 80);
35333530
static_assert_size!(ItemKind<'_>, 48);
@@ -3540,9 +3537,7 @@ mod size_asserts {
35403537
static_assert_size!(QPath<'_>, 24);
35413538
static_assert_size!(Stmt<'_>, 32);
35423539
static_assert_size!(StmtKind<'_>, 16);
3543-
#[cfg(not(bootstrap))]
35443540
static_assert_size!(TraitItem<'_>, 88);
3545-
#[cfg(not(bootstrap))]
35463541
static_assert_size!(TraitItemKind<'_>, 48);
35473542
static_assert_size!(Ty<'_>, 48);
35483543
static_assert_size!(TyKind<'_>, 32);

Diff for: compiler/rustc_hir/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![feature(associated_type_defaults)]
66
#![feature(closure_track_caller)]
77
#![feature(const_btree_len)]
8-
#![cfg_attr(bootstrap, feature(let_else))]
98
#![feature(once_cell)]
109
#![feature(min_specialization)]
1110
#![feature(never_type)]

Diff for: compiler/rustc_incremental/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
#![deny(missing_docs)]
44
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
5-
#![cfg_attr(bootstrap, feature(let_else))]
65
#![recursion_limit = "256"]
76
#![allow(rustc::potential_query_instability)]
87

Diff for: compiler/rustc_index/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![feature(allow_internal_unstable)]
44
#![feature(bench_black_box)]
55
#![feature(extend_one)]
6-
#![cfg_attr(bootstrap, feature(let_else))]
76
#![feature(min_specialization)]
87
#![feature(new_uninit)]
98
#![feature(step_trait)]

Diff for: compiler/rustc_infer/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
#![feature(box_patterns)]
1818
#![feature(control_flow_enum)]
1919
#![feature(extend_one)]
20-
#![cfg_attr(bootstrap, feature(label_break_value))]
2120
#![feature(let_chains)]
22-
#![cfg_attr(bootstrap, feature(let_else))]
2321
#![feature(if_let_guard)]
2422
#![feature(min_specialization)]
2523
#![feature(never_type)]

Diff for: compiler/rustc_interface/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![feature(box_patterns)]
2-
#![cfg_attr(bootstrap, feature(let_else))]
32
#![feature(internal_output_capture)]
43
#![feature(thread_spawn_unchecked)]
54
#![feature(once_cell)]

Diff for: compiler/rustc_lint/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#![feature(iter_intersperse)]
3535
#![feature(iter_order_by)]
3636
#![feature(let_chains)]
37-
#![cfg_attr(bootstrap, feature(let_else))]
37+
#![feature(min_specialization)]
3838
#![feature(never_type)]
3939
#![recursion_limit = "256"]
4040

Diff for: compiler/rustc_macros/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![feature(allow_internal_unstable)]
2-
#![cfg_attr(bootstrap, feature(let_else))]
32
#![feature(never_type)]
43
#![feature(proc_macro_diagnostic)]
54
#![feature(proc_macro_span)]

Diff for: compiler/rustc_metadata/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
#![feature(decl_macro)]
33
#![feature(drain_filter)]
44
#![feature(generators)]
5-
#![cfg_attr(bootstrap, feature(generic_associated_types))]
65
#![feature(iter_from_generator)]
76
#![feature(let_chains)]
8-
#![cfg_attr(bootstrap, feature(let_else))]
97
#![feature(once_cell)]
108
#![feature(proc_macro_internals)]
119
#![feature(macro_metavar_expr)]

Diff for: compiler/rustc_middle/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#![feature(discriminant_kind)]
3232
#![feature(exhaustive_patterns)]
3333
#![feature(get_mut_unchecked)]
34-
#![cfg_attr(bootstrap, feature(generic_associated_types))]
3534
#![feature(if_let_guard)]
3635
#![feature(map_first_last)]
3736
#![feature(negative_impls)]
@@ -40,7 +39,6 @@
4039
#![feature(new_uninit)]
4140
#![feature(once_cell)]
4241
#![feature(let_chains)]
43-
#![cfg_attr(bootstrap, feature(let_else))]
4442
#![feature(min_specialization)]
4543
#![feature(trusted_len)]
4644
#![feature(type_alias_impl_trait)]

Diff for: compiler/rustc_middle/src/mir/syntax.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,6 @@ pub enum BinOp {
12421242
mod size_asserts {
12431243
use super::*;
12441244
// These are in alphabetical order, which is easy to maintain.
1245-
#[cfg(not(bootstrap))]
12461245
static_assert_size!(AggregateKind<'_>, 40);
12471246
static_assert_size!(Operand<'_>, 24);
12481247
static_assert_size!(Place<'_>, 16);

Diff for: compiler/rustc_middle/src/thir.rs

-4
Original file line numberDiff line numberDiff line change
@@ -852,12 +852,8 @@ mod size_asserts {
852852
static_assert_size!(Block, 56);
853853
static_assert_size!(Expr<'_>, 64);
854854
static_assert_size!(ExprKind<'_>, 40);
855-
#[cfg(not(bootstrap))]
856855
static_assert_size!(Pat<'_>, 72);
857-
#[cfg(not(bootstrap))]
858856
static_assert_size!(PatKind<'_>, 56);
859-
#[cfg(not(bootstrap))]
860857
static_assert_size!(Stmt<'_>, 48);
861-
#[cfg(not(bootstrap))]
862858
static_assert_size!(StmtKind<'_>, 40);
863859
}

Diff for: compiler/rustc_mir_build/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#![feature(control_flow_enum)]
77
#![feature(if_let_guard)]
88
#![feature(let_chains)]
9-
#![cfg_attr(bootstrap, feature(let_else))]
109
#![feature(min_specialization)]
1110
#![feature(once_cell)]
1211
#![recursion_limit = "256"]

Diff for: compiler/rustc_mir_dataflow/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![feature(associated_type_defaults)]
22
#![feature(box_patterns)]
33
#![feature(exact_size_is_empty)]
4-
#![cfg_attr(bootstrap, feature(let_else))]
54
#![feature(min_specialization)]
65
#![feature(once_cell)]
76
#![feature(stmt_expr_attributes)]

Diff for: compiler/rustc_mir_transform/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![allow(rustc::potential_query_instability)]
22
#![feature(box_patterns)]
33
#![feature(let_chains)]
4-
#![cfg_attr(bootstrap, feature(let_else))]
54
#![feature(map_try_insert)]
65
#![feature(min_specialization)]
76
#![feature(never_type)]

Diff for: compiler/rustc_monomorphize/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![feature(array_windows)]
22
#![feature(control_flow_enum)]
3-
#![cfg_attr(bootstrap, feature(let_else))]
43
#![recursion_limit = "256"]
54
#![allow(rustc::potential_query_instability)]
65
#![deny(rustc::untranslatable_diagnostic)]

Diff for: compiler/rustc_parse/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#![feature(box_patterns)]
55
#![feature(if_let_guard)]
66
#![feature(let_chains)]
7-
#![cfg_attr(bootstrap, feature(let_else))]
87
#![feature(never_type)]
98
#![feature(rustc_attrs)]
109
#![recursion_limit = "256"]

Diff for: compiler/rustc_passes/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
99
#![feature(iter_intersperse)]
1010
#![feature(let_chains)]
11-
#![cfg_attr(bootstrap, feature(let_else))]
1211
#![feature(map_try_insert)]
1312
#![feature(min_specialization)]
1413
#![feature(try_blocks)]

0 commit comments

Comments
 (0)