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