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:
parent
025e04e1bc
commit
bb2398f8e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue