rustc_parse::parser::nonterminal

Function get_macro_ident

Source
fn get_macro_ident(token: &Token) -> Option<(Ident, IdentIsRaw)>
Expand description

The token is an identifier, but not _. We prohibit passing _ to macros expecting ident for now.