about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-25 07:50:25 +0200
committerGitHub <noreply@github.com>2025-04-25 07:50:25 +0200
commit564e5ccb5c91aa520c63266b0af5a912efcbb089 (patch)
tree891455bb19d6953c64a581300ad0ab703af66b8f /compiler/rustc_mir_dataflow
parentf3641df491b30f192aed3c5bb2676a07b06434ae (diff)
parent7493e1cdf64b381f7eb910da982fcbbad7d64769 (diff)
downloadrust-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_mir_dataflow')
-rw-r--r--compiler/rustc_mir_dataflow/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs
index a0efc623b8e..38f82b12746 100644
--- a/compiler/rustc_mir_dataflow/src/lib.rs
+++ b/compiler/rustc_mir_dataflow/src/lib.rs
@@ -1,10 +1,10 @@
 // tidy-alphabetical-start
+#![cfg_attr(bootstrap, feature(let_chains))]
 #![feature(assert_matches)]
 #![feature(associated_type_defaults)]
 #![feature(box_patterns)]
 #![feature(exact_size_is_empty)]
 #![feature(file_buffered)]
-#![feature(let_chains)]
 #![feature(never_type)]
 #![feature(try_blocks)]
 // tidy-alphabetical-end