]> 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 36fcab8450b85e9344c2772a4b93ed918a9c8fc9..a1cf2d421084ef60867468e68ce798f013aa31ab 100644 (file)
@@ -249,6 +249,10 @@ macro_rules! declare_features {
     (accepted, macros_in_extern, "1.40.0", Some(49476), None),
     /// Allows future-proofing enums/structs with the `#[non_exhaustive]` attribute (RFC 2008).
     (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