Static rustc_lint::builtin::INVALID_DOC_ATTRIBUTES [−][src]
pub static INVALID_DOC_ATTRIBUTES: &'static Lint
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.