Function rustc_expand::mbe::transcribe::extract_symbol_from_pnr
source ยท fn extract_symbol_from_pnr<'a>(
dcx: DiagCtxtHandle<'a>,
pnr: &ParseNtResult,
span_err: Span,
) -> PResult<'a, Symbol>
Expand description
Extracts an metavariable symbol that can be an identifier, a token tree or a literal.