Static rustc_lint_defs::builtin::INVALID_DOC_ATTRIBUTES
source · pub static INVALID_DOC_ATTRIBUTES: &Lint
Expand description
The invalid_doc_attributes
lint detects when the #[doc(...)]
is
misused.
Example
ⓘ
#![deny(warnings)]
pub mod submodule {
#![doc(test(no_crate_inject))]
}
{{produces}}
Explanation
Previously, there were very like checks being performed on #[doc(..)]
unlike the other attributes. It’ll now catch all the issues that it
silently ignored previously.