pub(crate) fn target_check_doc_comment(
parser: &AttributeParser<'_>,
attr: &Attribute,
target: &AstTarget<'_>,
target_span: Span,
emit_lint: &mut impl FnMut(LintId, MultiSpan, EmitAttribute),
has_target_checked_doc_comment: &mut bool,
)