Skip to content

Commit

Permalink
downgrade internal_features to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Aug 10, 2023
1 parent abc910b commit 6888466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_lint/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust,compile_fail
/// ```rust
/// #![feature(rustc_attrs)]
/// ```
///
Expand All @@ -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"
}

Expand Down

0 comments on commit 6888466

Please sign in to comment.