]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/builtin_attrs.rs
Rollup merge of #100249 - Meziu:master, r=joshtriplett
[rust.git] / compiler / rustc_feature / src / builtin_attrs.rs
index 0e73d8fd7f600f284e2af7be4c7f08cf89c3d344..ee46a364546a92fa94cf3786bfc57698e94abddf 100644 (file)
@@ -499,6 +499,10 @@ pub struct BuiltinAttribute {
     ),
     ungated!(rustc_const_unstable, Normal, template!(List: r#"feature = "name""#), DuplicatesOk),
     ungated!(rustc_const_stable, Normal, template!(List: r#"feature = "name""#), DuplicatesOk),
+    ungated!(
+        rustc_default_body_unstable, Normal,
+        template!(List: r#"feature = "name", reason = "...", issue = "N""#), DuplicatesOk
+    ),
     gated!(
         allow_internal_unstable, Normal, template!(Word, List: "feat1, feat2, ..."), DuplicatesOk,
         "allow_internal_unstable side-steps feature gating and stability checks",