diff options
| author | est31 <MTest31@outlook.com> | 2025-04-23 15:51:57 +0200 | 
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2025-04-23 16:40:30 +0200 | 
| commit | 7493e1cdf64b381f7eb910da982fcbbad7d64769 (patch) | |
| tree | 9995775e9c4ac8e183136f07edc118549a182b87 /compiler/rustc_session/src/lib.rs | |
| parent | 645d0ad2a4f145ae576e442ec5c73c0f8eed829b (diff) | |
| download | rust-7493e1cdf64b381f7eb910da982fcbbad7d64769.tar.gz rust-7493e1cdf64b381f7eb910da982fcbbad7d64769.zip  | |
Make #![feature(let_chains)] bootstrap conditional in compiler/
Diffstat (limited to 'compiler/rustc_session/src/lib.rs')
| -rw-r--r-- | compiler/rustc_session/src/lib.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/lib.rs b/compiler/rustc_session/src/lib.rs index 0e19b982a13..ec8e9898dc7 100644 --- a/compiler/rustc_session/src/lib.rs +++ b/compiler/rustc_session/src/lib.rs @@ -1,8 +1,8 @@ // tidy-alphabetical-start #![allow(internal_features)] +#![cfg_attr(bootstrap, feature(let_chains))] #![feature(default_field_values)] #![feature(iter_intersperse)] -#![feature(let_chains)] #![feature(rustc_attrs)] // To generate CodegenOptionsTargetModifiers and UnstableOptionsTargetModifiers enums // with macro_rules, it is necessary to use recursive mechanic ("Incremental TT Munchers").  | 
