[−][src]Function syntax::ext::tt::macro_parser::parse_failure_msg
pub fn parse_failure_msg(tok: Token) -> String
Generates an appropriate parsing failure message. For EOF, this is "unexpected end...". For other tokens, this is "unexpected token...".