X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibsyntax%2Ffeature_gate%2Faccepted.rs;h=a1cf2d421084ef60867468e68ce798f013aa31ab;hb=f49f38871389041671cc710a044e8360091840a3;hp=d309a17298baa3471f42d7d954185149be348b22;hpb=eb5ef813f0d6e3fe8edd3abb046a18f5b1a8cc48;p=rust.git diff --git a/src/libsyntax/feature_gate/accepted.rs b/src/libsyntax/feature_gate/accepted.rs index d309a17298b..a1cf2d42108 100644 --- a/src/libsyntax/feature_gate/accepted.rs +++ b/src/libsyntax/feature_gate/accepted.rs @@ -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