Skip to content

Commit 7ece88a

Browse files
committed
remove test_unstable_lint feature
1 parent 5621077 commit 7ece88a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: compiler/rustc_lint_defs/src/builtin.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -4035,7 +4035,8 @@ declare_lint! {
40354035
/// ### Example
40364036
///
40374037
/// ```rust
4038-
/// #![feature(test_unstable_lint)]
4038+
/// // This lint is intentionally used to test the compiler's behavior
4039+
/// // when an unstable lint is enabled without the corresponding feature gate.
40394040
/// #![allow(test_unstable_lint)]
40404041
/// ```
40414042
///

0 commit comments

Comments
 (0)