This commit is contained in:
Jeffrey Seyfried 2017-03-06 06:45:28 +00:00
parent d9cf601ae8
commit 460bf55f8a
2 changed files with 11 additions and 12 deletions

View file

@ -488,7 +488,7 @@ pub fn parse(sess: &ParseSess, tts: TokenStream, ms: &[TokenTree], directory: Op
fn parse_nt<'a>(p: &mut Parser<'a>, sp: Span, name: &str) -> Nonterminal {
match name {
"tt" => {
return token::NtTT(panictry!(p.parse_token_tree()));
return token::NtTT(p.parse_token_tree());
}
_ => {}
}