Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 99822dd

Browse files
committedFeb 22, 2024
Make invalid_doc_attributes deny by default
1 parent f62f490 commit 99822dd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed
 

‎compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3638,18 +3638,9 @@ declare_lint! {
36383638
/// being validated. Usually these should be rejected as a hard error,
36393639
/// but this lint was introduced to avoid breaking any existing
36403640
/// crates which included them.
3641-
///
3642-
/// This is a [future-incompatible] lint to transition this to a hard
3643-
/// error in the future. See [issue #82730] for more details.
3644-
///
3645-
/// [issue #82730]: https://github.com/rust-lang/rust/issues/82730
36463641
pub INVALID_DOC_ATTRIBUTES,
3647-
Warn,
3642+
Deny,
36483643
"detects invalid `#[doc(...)]` attributes",
3649-
@future_incompatible = FutureIncompatibleInfo {
3650-
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
3651-
reference: "issue #82730 <https://github.com/rust-lang/rust/issues/82730>",
3652-
};
36533644
}
36543645

36553646
declare_lint! {

0 commit comments

Comments
 (0)
Please sign in to comment.