summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2025-04-23 15:51:57 +0200
committerest31 <MTest31@outlook.com>2025-04-23 16:40:30 +0200
commit7493e1cdf64b381f7eb910da982fcbbad7d64769 (patch)
tree9995775e9c4ac8e183136f07edc118549a182b87 /compiler/rustc_pattern_analysis
parent645d0ad2a4f145ae576e442ec5c73c0f8eed829b (diff)
downloadrust-7493e1cdf64b381f7eb910da982fcbbad7d64769.tar.gz
rust-7493e1cdf64b381f7eb910da982fcbbad7d64769.zip
Make #![feature(let_chains)] bootstrap conditional in compiler/
Diffstat (limited to 'compiler/rustc_pattern_analysis')
-rw-r--r--compiler/rustc_pattern_analysis/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs
index 176dcbf6da4..f63d8b2d79f 100644
--- a/compiler/rustc_pattern_analysis/src/lib.rs
+++ b/compiler/rustc_pattern_analysis/src/lib.rs
@@ -6,7 +6,7 @@
 #![allow(rustc::diagnostic_outside_of_impl)]
 #![allow(rustc::untranslatable_diagnostic)]
 #![allow(unused_crate_dependencies)]
-#![cfg_attr(feature = "rustc", feature(let_chains))]
+#![cfg_attr(all(feature = "rustc", bootstrap), feature(let_chains))]
 // tidy-alphabetical-end
 
 pub mod constructor;