From e857c1b79028765c62e7f29584c7ce75bfb739b9 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Thu, 10 May 2018 02:01:03 +0000 Subject: [PATCH] restore feature for stage0 --- src/librustc/lib.rs | 1 + src/librustc_metadata/lib.rs | 1 + src/librustc_save_analysis/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index b9928a08131f2..2a288ae522aac 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -50,6 +50,7 @@ #![feature(from_ref)] #![feature(fs_read_write)] #![cfg_attr(windows, feature(libc))] +#![cfg_attr(stage0, feature(macro_lifetime_matcher))] #![feature(macro_vis_matcher)] #![feature(never_type)] #![feature(exhaustive_patterns)] diff --git a/src/librustc_metadata/lib.rs b/src/librustc_metadata/lib.rs index 60016a0d86451..7ecf2eba43ddf 100644 --- a/src/librustc_metadata/lib.rs +++ b/src/librustc_metadata/lib.rs @@ -15,6 +15,7 @@ #![feature(box_patterns)] #![feature(fs_read_write)] #![feature(libc)] +#![cfg_attr(stage0, feature(macro_lifetime_matcher))] #![feature(proc_macro_internals)] #![feature(quote)] #![feature(rustc_diagnostic_macros)] diff --git a/src/librustc_save_analysis/lib.rs b/src/librustc_save_analysis/lib.rs index bfcb23c1fb891..e57a793ff426f 100644 --- a/src/librustc_save_analysis/lib.rs +++ b/src/librustc_save_analysis/lib.rs @@ -12,6 +12,7 @@ html_favicon_url = "https://doc.rust-lang.org/favicon.ico", html_root_url = "https://doc.rust-lang.org/nightly/")] #![feature(custom_attribute)] +#![cfg_attr(stage0, feature(macro_lifetime_matcher))] #![allow(unused_attributes)] #[macro_use]