Skip to content

Commit 5ce15af

Browse files
Make invalid_doc_attributes deny by default
1 parent 71a7b66 commit 5ce15af

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-10
Original file line numberDiff line numberDiff line change
@@ -3586,18 +3586,9 @@ declare_lint! {
35863586
/// being validated. Usually these should be rejected as a hard error,
35873587
/// but this lint was introduced to avoid breaking any existing
35883588
/// crates which included them.
3589-
///
3590-
/// This is a [future-incompatible] lint to transition this to a hard
3591-
/// error in the future. See [issue #82730] for more details.
3592-
///
3593-
/// [issue #82730]: https://github.com/rust-lang/rust/issues/82730
35943589
pub INVALID_DOC_ATTRIBUTES,
3595-
Warn,
3590+
Deny,
35963591
"detects invalid `#[doc(...)]` attributes",
3597-
@future_incompatible = FutureIncompatibleInfo {
3598-
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
3599-
reference: "issue #82730 <https://github.com/rust-lang/rust/issues/82730>",
3600-
};
36013592
}
36023593

36033594
declare_lint! {

0 commit comments

Comments
 (0)