]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/feature_gate/accepted.rs
Auto merge of #65838 - estebank:resilient-recovery, r=Centril
[rust.git] / src / libsyntax / feature_gate / accepted.rs
index d309a17298baa3471f42d7d954185149be348b22..a1cf2d421084ef60867468e68ce798f013aa31ab 100644 (file)
@@ -251,6 +251,8 @@ macro_rules! declare_features {
     (accepted, non_exhaustive, "1.40.0", Some(44109), None),
     /// Allows calling constructor functions in `const fn`.
     (accepted, const_constructor, "1.40.0", Some(61456), None),
+    /// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests.
+    (accepted, cfg_doctest, "1.40.0", Some(62210), None),
 
     // -------------------------------------------------------------------------
     // feature-group-end: accepted features