downgrade internal_features to warn

This commit is contained in:
lcnr 2023-08-10 11:51:30 +02:00
parent abc910be6f
commit 68884665ba

View File

@ -2215,7 +2215,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust,compile_fail
/// ```rust
/// #![feature(rustc_attrs)]
/// ```
///
@ -2226,7 +2226,7 @@ declare_lint! {
/// These features are an implementation detail of the compiler and standard
/// library and are not supposed to be used in user code.
pub INTERNAL_FEATURES,
Deny,
Warn,
"internal features are not supposed to be used"
}