summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_passes/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_passes/src/lib.rs')
-rw-r--r--compiler/rustc_passes/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/lib.rs b/compiler/rustc_passes/src/lib.rs
index 7b2f83958..39ebb8db2 100644
--- a/compiler/rustc_passes/src/lib.rs
+++ b/compiler/rustc_passes/src/lib.rs
@@ -8,7 +8,7 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![feature(iter_intersperse)]
#![feature(let_chains)]
-#![feature(let_else)]
+#![cfg_attr(bootstrap, feature(let_else))]
#![feature(map_try_insert)]
#![feature(min_specialization)]
#![feature(try_blocks)]