about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAditya-PS-05 <adityapratapsjnhh7654@gmail.com>2025-01-13 00:14:24 +0530
committerAditya-PS-05 <adityapratapsjnhh7654@gmail.com>2025-01-13 00:14:24 +0530
commit7ece88a2d7795cb0beb719848a563c6870531632 (patch)
tree62c8b4efc6c6c156ab912413cbc6e73179ed3f90
parent562107760d6fdbe77bbcb8e1b251ef54e2bb9c7d (diff)
downloadrust-7ece88a2d7795cb0beb719848a563c6870531632.tar.gz
rust-7ece88a2d7795cb0beb719848a563c6870531632.zip
remove test_unstable_lint feature
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index 8fbafe9c883..0c6147f4a46 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -4035,7 +4035,8 @@ declare_lint! {
     /// ### Example
     ///
     /// ```rust
-    /// #![feature(test_unstable_lint)]
+    /// // This lint is intentionally used to test the compiler's behavior
+    /// // when an unstable lint is enabled without the corresponding feature gate.
     /// #![allow(test_unstable_lint)]
     /// ```
     ///