Skip to content

Commit 70cd8d5

Browse files
authored
Rollup merge of #114692 - lcnr:internal_features-warn, r=Nilstrieb
downgrade `internal_features` to warn Not sure if this requires an FCP or whatever. By having the lint as deny I need to modify test cases when testing them outside of the test suite as the test suite implicitly allows the lint. This takes maybe 10 to 20 seconds per test, but given just how frequently I end up copying tests to different repos it's a significant annoyance. r? `@Nilstrieb`
2 parents a12c329 + 6888466 commit 70cd8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint/src/builtin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@ declare_lint! {
22152215
///
22162216
/// ### Example
22172217
///
2218-
/// ```rust,compile_fail
2218+
/// ```rust
22192219
/// #![feature(rustc_attrs)]
22202220
/// ```
22212221
///
@@ -2226,7 +2226,7 @@ declare_lint! {
22262226
/// These features are an implementation detail of the compiler and standard
22272227
/// library and are not supposed to be used in user code.
22282228
pub INTERNAL_FEATURES,
2229-
Deny,
2229+
Warn,
22302230
"internal features are not supposed to be used"
22312231
}
22322232

0 commit comments

Comments
 (0)