Rollup merge of #52458 - alexcrichton:fix-suggestion, r=petrochenkov

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:
kennytm 2018-07-18 22:35:00 +08:00 committed by GitHub
commit 5dd3275237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)