Skip to content

Commit

Permalink
rustc: Fix a suggestion for the proc_macro feature
Browse files Browse the repository at this point in the history
This feature is stable, we shouldn't suggest it any more! Instead suggest the
real feature, `use_extern_macros`.
  • Loading branch information
alexcrichton committed Jul 17, 2018
1 parent 025e04e commit bb2398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_resolve/lib.rs
Expand Up @@ -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)
Expand Down

0 comments on commit bb2398f

Please sign in to comment.