rustc_lint::builtin

Function warn_if_doc

source
fn warn_if_doc(
    cx: &EarlyContext<'_>,
    node_span: Span,
    node_kind: &str,
    attrs: &[Attribute],
)