rustc_expand::mbe::diagnostics

Function emit_frag_parse_err

Source
pub(super) fn emit_frag_parse_err(
    e: Diag<'_>,
    parser: &Parser<'_>,
    orig_parser: &mut Parser<'_>,
    site_span: Span,
    arm_span: Span,
    kind: AstFragmentKind,
) -> ErrorGuaranteed