From bb2398f8e92a44fd20214829df3b7a7b6f5e2bca Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Jul 2018 07:14:54 -0700 Subject: [PATCH] rustc: Fix a suggestion for the `proc_macro` feature This feature is stable, we shouldn't suggest it any more! Instead suggest the real feature, `use_extern_macros`. --- src/librustc_resolve/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs index f388b911feb..177e4ed8cf3 100644 --- a/src/librustc_resolve/lib.rs +++ b/src/librustc_resolve/lib.rs @@ -4521,7 +4521,7 @@ fn check_proc_macro_attrs(&mut self, attrs: &[ast::Attribute]) { attr::mark_known(attr); let msg = "attribute procedural macros are experimental"; - let feature = "proc_macro"; + let feature = "use_extern_macros"; feature_err(&self.session.parse_sess, feature, attr.span, GateIssue::Language, msg) -- 2.44.0