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.
fn extract_symbol_from_pnr<'a>(
dcx: DiagCtxtHandle<'a>,
pnr: &ParseNtResult,
span_err: Span,
) -> PResult<'a, Symbol>
Extracts an metavariable symbol that can be an identifier, a token tree or a literal.