Make invalid_doc_attributes deny by default
This commit is contained in:
@@ -3586,18 +3586,9 @@ declare_lint! {
|
|||||||
/// being validated. Usually these should be rejected as a hard error,
|
/// being validated. Usually these should be rejected as a hard error,
|
||||||
/// but this lint was introduced to avoid breaking any existing
|
/// but this lint was introduced to avoid breaking any existing
|
||||||
/// crates which included them.
|
/// 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,
|
pub INVALID_DOC_ATTRIBUTES,
|
||||||
Warn,
|
Deny,
|
||||||
"detects invalid `#[doc(...)]` attributes",
|
"detects invalid `#[doc(...)]` attributes",
|
||||||
@future_incompatible = FutureIncompatibleInfo {
|
|
||||||
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
|
|
||||||
reference: "issue #82730 <https://github.com/rust-lang/rust/issues/82730>",
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
|
|||||||
Reference in New Issue
Block a user