1
Fork 0

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