downgrade internal_features to warn
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user