From 7493e1cdf64b381f7eb910da982fcbbad7d64769 Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 23 Apr 2025 15:51:57 +0200 Subject: Make #![feature(let_chains)] bootstrap conditional in compiler/ --- compiler/rustc_macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_macros') diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index edb25e79904..62ca7ce3ca9 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -1,7 +1,7 @@ // tidy-alphabetical-start #![allow(rustc::default_hash_types)] +#![cfg_attr(bootstrap, feature(let_chains))] #![feature(if_let_guard)] -#![feature(let_chains)] #![feature(never_type)] #![feature(proc_macro_diagnostic)] #![feature(proc_macro_span)] -- cgit 1.4.1-3-g733a5