mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
downgrade internal_features to warn
This commit is contained in:
@@ -2215,7 +2215,7 @@ fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'_>) {
|
||||
///
|
||||
/// ### Example
|
||||
///
|
||||
/// ```rust,compile_fail
|
||||
/// ```rust
|
||||
/// #![feature(rustc_attrs)]
|
||||
/// ```
|
||||
///
|
||||
@@ -2226,7 +2226,7 @@ fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'_>) {
|
||||
/// 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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user