Feature gate the rustdoc::missing_doc_code_examples lint

This commit is contained in:
Wim Looman 2022-09-12 20:10:35 +02:00
parent fd1a399c4f
commit 72cf46aa72
No known key found for this signature in database
GPG key ID: C6F5748C6DD1607B
16 changed files with 93 additions and 37 deletions

View file

@ -221,6 +221,8 @@ declare_features! (
(active, rustc_private, "1.0.0", Some(27812), None),
/// Allows using internal rustdoc features like `doc(primitive)` or `doc(keyword)`.
(active, rustdoc_internals, "1.58.0", Some(90418), None),
/// Allows using the `rustdoc::missing_doc_code_examples` lint
(active, rustdoc_missing_doc_code_examples, "1.31.0", Some(101730), None),
/// Allows using `#[start]` on a function indicating that it is the program entrypoint.
(active, start, "1.0.0", Some(29633), None),
/// Allows using `#[structural_match]` which indicates that a type is structurally matchable.