about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/lib.rs
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_ty_utils/src/lib.rs
parent645d0ad2a4f145ae576e442ec5c73c0f8eed829b (diff)
downloadrust-7493e1cdf64b381f7eb910da982fcbbad7d64769.tar.gz
rust-7493e1cdf64b381f7eb910da982fcbbad7d64769.zip
Make #![feature(let_chains)] bootstrap conditional in compiler/
Diffstat (limited to 'compiler/rustc_ty_utils/src/lib.rs')
-rw-r--r--compiler/rustc_ty_utils/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/lib.rs b/compiler/rustc_ty_utils/src/lib.rs
index 35cc6f39856..99252c28b40 100644
--- a/compiler/rustc_ty_utils/src/lib.rs
+++ b/compiler/rustc_ty_utils/src/lib.rs
@@ -6,6 +6,7 @@
 
 // tidy-alphabetical-start
 #![allow(internal_features)]
+#![cfg_attr(bootstrap, feature(let_chains))]
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![doc(rust_logo)]
 #![feature(assert_matches)]
@@ -13,7 +14,6 @@
 #![feature(box_patterns)]
 #![feature(if_let_guard)]
 #![feature(iterator_try_collect)]
-#![feature(let_chains)]
 #![feature(never_type)]
 #![feature(rustdoc_internals)]
 // tidy-alphabetical-end