diff options
| author | kennytm <kennytm@gmail.com> | 2018-07-18 22:35:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-18 22:35:00 +0800 |
| commit | 5dd32752375bdd8ffcaf3c49ac78bd9ca0422d4f (patch) | |
| tree | de92ed4102747b4a4993e2e826ca9a1ce30d11ae | |
| parent | d94a279538b15a8b93cfdf768a5e2d65d90b11a6 (diff) | |
| parent | bb2398f8e92a44fd20214829df3b7a7b6f5e2bca (diff) | |
| download | rust-5dd32752375bdd8ffcaf3c49ac78bd9ca0422d4f.tar.gz rust-5dd32752375bdd8ffcaf3c49ac78bd9ca0422d4f.zip | |
Rollup merge of #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`.
| -rw-r--r-- | src/librustc_resolve/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs index f388b911feb..177e4ed8cf3 100644 --- a/src/librustc_resolve/lib.rs +++ b/src/librustc_resolve/lib.rs @@ -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) |
