diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-12 12:06:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-12 12:06:36 +0200 |
| commit | 70cd8d5f3f4680526705846b377877fadd092174 (patch) | |
| tree | 206ea73f1b39b4ce556eb9d0d72d602a5cabc2d2 | |
| parent | a12c329b35c8d7d49ec9c703ad7928b502c5fbb9 (diff) | |
| parent | 68884665bacd7effe451e57502f77cc6bed5873c (diff) | |
| download | rust-70cd8d5f3f4680526705846b377877fadd092174.tar.gz rust-70cd8d5f3f4680526705846b377877fadd092174.zip | |
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`
| -rw-r--r-- | compiler/rustc_lint/src/builtin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index 2c9d212a6a6..5910dc2edef 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -2215,7 +2215,7 @@ declare_lint! { /// /// ### Example /// - /// ```rust,compile_fail + /// ```rust /// #![feature(rustc_attrs)] /// ``` /// @@ -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" } |
