diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-01-09 12:02:55 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-02-29 14:34:58 +0100 |
| commit | 5ce15af6b1d0c16df722db929dc81b9a97c2bd1f (patch) | |
| tree | 7415a7e7d363f29df159ba2659512c5a3e9a87ec | |
| parent | 71a7b66f20c551f640f2f382bc7e7923ba0a5dab (diff) | |
| download | rust-5ce15af6b1d0c16df722db929dc81b9a97c2bd1f.tar.gz rust-5ce15af6b1d0c16df722db929dc81b9a97c2bd1f.zip | |
Make `invalid_doc_attributes` deny by default
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 1cddb45428c..94f8bbe2437 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -3586,18 +3586,9 @@ declare_lint! { /// being validated. Usually these should be rejected as a hard error, /// but this lint was introduced to avoid breaking any existing /// crates which included them. - /// - /// This is a [future-incompatible] lint to transition this to a hard - /// error in the future. See [issue #82730] for more details. - /// - /// [issue #82730]: https://github.com/rust-lang/rust/issues/82730 pub INVALID_DOC_ATTRIBUTES, - Warn, + Deny, "detects invalid `#[doc(...)]` attributes", - @future_incompatible = FutureIncompatibleInfo { - reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps, - reference: "issue #82730 <https://github.com/rust-lang/rust/issues/82730>", - }; } declare_lint! { |
