summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/lib.rs
diff options
context:
space:
mode:
authorCaio <c410.f3r@gmail.com>2022-07-12 15:36:59 -0300
committerCaio <c410.f3r@gmail.com>2022-07-16 20:17:58 -0300
commit326646074940222d602f3683d0559088690830f4 (patch)
tree55297110643d94c0f780cc0e3bcae2e7e20dd54b /compiler/rustc_middle/src/lib.rs
parentd5e7f4782e4b699728d0a08200ecd1a54d56a85d (diff)
downloadrust-326646074940222d602f3683d0559088690830f4.tar.gz
Stabilize `let_chains`
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
-rw-r--r--compiler/rustc_middle/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs
index ef06c457bf4..45c6468bc24 100644
--- a/compiler/rustc_middle/src/lib.rs
+++ b/compiler/rustc_middle/src/lib.rs
@@ -40,7 +40,7 @@
#![feature(extern_types)]
#![feature(new_uninit)]
#![feature(once_cell)]
-#![feature(let_chains)]
+#![cfg_attr(bootstrap, feature(let_chains))]
#![feature(let_else)]
#![feature(min_specialization)]
#![feature(trusted_len)]