Skip to content

Commit bb2398f

Browse files
committed
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`.
1 parent 025e04e commit bb2398f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4521,7 +4521,7 @@ impl<'a> Resolver<'a> {
45214521
attr::mark_known(attr);
45224522

45234523
let msg = "attribute procedural macros are experimental";
4524-
let feature = "proc_macro";
4524+
let feature = "use_extern_macros";
45254525

45264526
feature_err(&self.session.parse_sess, feature,
45274527
attr.span, GateIssue::Language, msg)

0 commit comments

Comments
 (0)