about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorWim Looman <git@nemo157.com>2022-09-12 20:10:35 +0200
committerWim Looman <git@nemo157.com>2022-09-12 21:20:24 +0200
commit72cf46aa72b79e044b08b70e5dd9e56e3ef21f89 (patch)
tree10bf2770c8b29c57d889c8dc020267de46057968 /compiler/rustc_feature/src
parentfd1a399c4f3d0510b0c7528a298bc597d113856d (diff)
downloadrust-72cf46aa72b79e044b08b70e5dd9e56e3ef21f89.tar.gz
rust-72cf46aa72b79e044b08b70e5dd9e56e3ef21f89.zip
Feature gate the rustdoc::missing_doc_code_examples lint
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 5377ebde168..2cbf348f13a 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -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.