about summary refs log tree commit diff
path: root/compiler/rustc_attr/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_attr/src/lib.rs')
-rw-r--r--compiler/rustc_attr/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_attr/src/lib.rs b/compiler/rustc_attr/src/lib.rs
index 149a950f7d4..ab68d24e4b3 100644
--- a/compiler/rustc_attr/src/lib.rs
+++ b/compiler/rustc_attr/src/lib.rs
@@ -4,7 +4,7 @@
 //! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
 //! to this crate.
 
-#![feature(or_patterns)]
+#![cfg_attr(bootstrap, feature(or_patterns))]
 
 #[macro_use]
 extern crate rustc_macros;