]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/builtin_attrs.rs
Rollup merge of #106653 - ehuss:allow-features-help, r=nilstrieb
[rust.git] / compiler / rustc_feature / src / builtin_attrs.rs
index ad85231860d2de31a33af07eaf7a67bb163eedb5..af56a0b245987059426e27e8919856d7b2e36563 100644 (file)
@@ -487,6 +487,9 @@ pub struct BuiltinAttribute {
         experimental!(collapse_debuginfo)
     ),
 
+    // RFC 2397
+    gated!(do_not_recommend, Normal, template!(Word), WarnFollowing, experimental!(do_not_recommend)),
+
     // ==========================================================================
     // Internal attributes: Stability, deprecation, and unsafe:
     // ==========================================================================