about summary refs log tree commit diff
path: root/compiler/rustc_feature
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2021-01-17 16:05:02 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2021-02-07 20:08:45 +0300
commitf6caae52c1622a3c4f154eadaad615b577ceb6a8 (patch)
treef12c1b7f31102b6f27d96f8d7944e7a4a6e0bfec /compiler/rustc_feature
parentdbdbd30bf2cb0d48c8bbce83c2458592664dbb18 (diff)
downloadrust-f6caae52c1622a3c4f154eadaad615b577ceb6a8.tar.gz
rust-f6caae52c1622a3c4f154eadaad615b577ceb6a8.zip
Feature gate macro attributes in `#[derive]` output
Diffstat (limited to 'compiler/rustc_feature')
-rw-r--r--compiler/rustc_feature/src/active.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 4f38e060023..2d0009c225c 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -634,6 +634,10 @@ declare_features! (
 
     /// Lessens the requirements for structs to implement `Unsize`.
     (active, relaxed_struct_unsize, "1.51.0", Some(1), None),
+
+    /// Allows macro attributes to observe output of `#[derive]`.
+    (active, macro_attributes_in_derive_output, "1.51.0", Some(81119), None),
+
     // -------------------------------------------------------------------------
     // feature-group-end: actual feature gates
     // -------------------------------------------------------------------------