diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-03-16 01:09:22 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-11-30 06:15:19 +0200 |
| commit | e305994beb1347e2fcadf5c84acec60fb6902551 (patch) | |
| tree | fa3cc47ac732137a158714c65f2e758667ef7e8f /src/libsyntax | |
| parent | 3e90a12a8a95933604a8b609197fce61bb24a38c (diff) | |
| download | rust-e305994beb1347e2fcadf5c84acec60fb6902551.tar.gz rust-e305994beb1347e2fcadf5c84acec60fb6902551.zip | |
proc_macro: introduce a "bridge" between clients (proc macros) and servers (compiler front-ends).
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 3bc34917051..c93abc39ff3 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1122,8 +1122,8 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG ("proc_macro_attribute", Normal, Ungated), ("proc_macro", Normal, Ungated), - ("rustc_derive_registrar", Normal, Gated(Stability::Unstable, - "rustc_derive_registrar", + ("rustc_proc_macro_decls", Normal, Gated(Stability::Unstable, + "rustc_proc_macro_decls", "used internally by rustc", cfg_fn!(rustc_attrs))), |
