Function rustc_expand::mbe::macro_rules::parse_failure_msg[][src]

fn parse_failure_msg(tok: &Token) -> String
Expand description

Generates an appropriate parsing failure message. For EOF, this is “unexpected end…”. For other tokens, this is “unexpected token…”.