pub static INVALID_DOC_ATTRIBUTES: &'static Lint
Expand description

The invalid_doc_attributes lint detects when the #[doc(...)] is misused.



pub mod submodule {



Previously, incorrect usage of the #[doc(..)] attribute was not being validated. Usually these should be rejected as a hard error, but this lint was introduced to avoid breaking any existing 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.