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
@ -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…
x
Reference in New Issue
Block a user