Skip to content

Commit 6888466

Browse files
committed
downgrade internal_features to warn
1 parent abc910b commit 6888466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint/src/builtin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@ declare_lint! {
22152215
///
22162216
/// ### Example
22172217
///
2218-
/// ```rust,compile_fail
2218+
/// ```rust
22192219
/// #![feature(rustc_attrs)]
22202220
/// ```
22212221
///
@@ -2226,7 +2226,7 @@ declare_lint! {
22262226
/// These features are an implementation detail of the compiler and standard
22272227
/// library and are not supposed to be used in user code.
22282228
pub INTERNAL_FEATURES,
2229-
Deny,
2229+
Warn,
22302230
"internal features are not supposed to be used"
22312231
}
22322232

0 commit comments

Comments
 (0)