about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-17 07:14:54 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-17 07:14:54 -0700
commitbb2398f8e92a44fd20214829df3b7a7b6f5e2bca (patch)
tree2cbf5a63fdecd3f27f58d38a38db97595e1556a6 /src
parent025e04e1bc51807d3e9d733f4af57d2624b9080d (diff)
downloadrust-bb2398f8e92a44fd20214829df3b7a7b6f5e2bca.tar.gz
rust-bb2398f8e92a44fd20214829df3b7a7b6f5e2bca.zip
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`.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_resolve/lib.rs2
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)