Skip to content

Commit 5dd3275

Browse files
authored
Rollup merge of rust-lang#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`.
2 parents d94a279 + bb2398f commit 5dd3275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/lib.rs

Lines changed: 1 addition & 1 deletion
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)