diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-25 07:50:25 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-25 07:50:25 +0200 | 
| commit | 564e5ccb5c91aa520c63266b0af5a912efcbb089 (patch) | |
| tree | 891455bb19d6953c64a581300ad0ab703af66b8f /compiler/rustc_middle/src/lib.rs | |
| parent | f3641df491b30f192aed3c5bb2676a07b06434ae (diff) | |
| parent | 7493e1cdf64b381f7eb910da982fcbbad7d64769 (diff) | |
| download | rust-564e5ccb5c91aa520c63266b0af5a912efcbb089.tar.gz rust-564e5ccb5c91aa520c63266b0af5a912efcbb089.zip  | |
Rollup merge of #140202 - est31:let_chains_feature_compiler, r=lcnr
Make #![feature(let_chains)] bootstrap conditional in compiler/ Let chains have been stabilized recently in #132833, so we can remove the gating from our uses in the compiler (as the compiler uses edition 2024).
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
| -rw-r--r-- | compiler/rustc_middle/src/lib.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs index 8fe2cc7101b..df025aeebf0 100644 --- a/compiler/rustc_middle/src/lib.rs +++ b/compiler/rustc_middle/src/lib.rs @@ -29,6 +29,7 @@ #![allow(rustc::diagnostic_outside_of_impl)] #![allow(rustc::potential_query_instability)] #![allow(rustc::untranslatable_diagnostic)] +#![cfg_attr(bootstrap, feature(let_chains))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(allocator_api)] @@ -48,7 +49,6 @@ #![feature(if_let_guard)] #![feature(intra_doc_pointers)] #![feature(iter_from_coroutine)] -#![feature(let_chains)] #![feature(min_specialization)] #![feature(negative_impls)] #![feature(never_type)]  | 
