Skip to main content

target_check_doc_comment

Function target_check_doc_comment 

Source
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,
)