Skip to content

Commit f1ead97

Browse files
Make invalid_doc_attributes deny by default
1 parent dc64103 commit f1ead97

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
@@ -3669,18 +3669,9 @@ declare_lint! {
36693669
/// being validated. Usually these should be rejected as a hard error,
36703670
/// but this lint was introduced to avoid breaking any existing
36713671
/// crates which included them.
3672-
///
3673-
/// This is a [future-incompatible] lint to transition this to a hard
3674-
/// error in the future. See [issue #82730] for more details.
3675-
///
3676-
/// [issue #82730]: https://github.com/rust-lang/rust/issues/82730
36773672
pub INVALID_DOC_ATTRIBUTES,
3678-
Warn,
3673+
Deny,
36793674
"detects invalid `#[doc(...)]` attributes",
3680-
@future_incompatible = FutureIncompatibleInfo {
3681-
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
3682-
reference: "issue #82730 <https://github.com/rust-lang/rust/issues/82730>",
3683-
};
36843675
}
36853676

36863677
declare_lint! {

0 commit comments

Comments
 (0)