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`.
This commit is contained in:
Alex Crichton 2018-07-17 07:14:54 -07:00
parent 025e04e1bc
commit bb2398f8e9

View File

@ -4521,7 +4521,7 @@ impl<'a> Resolver<'a> {
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)