From f214b76f0b645198b081a7277a93888b0d00de43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 12 Jan 2016 11:46:41 +0100 Subject: [PATCH] fix(rustup): Fix build for latest nightly (d70ab2bdf) --- quasi_codegen/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quasi_codegen/src/lib.rs b/quasi_codegen/src/lib.rs index ad7028dc..38553110 100644 --- a/quasi_codegen/src/lib.rs +++ b/quasi_codegen/src/lib.rs @@ -586,7 +586,8 @@ fn parse_arguments_to_quote(cx: &ExtCtxt, tts: &[ast::TokenTree]) p.quote_depth += 1; let cx_expr = panictry!(p.parse_expr()); - if !panictry!(p.eat(&token::Comma)) { + + if !p.eat(&token::Comma) { let _ = p.diagnostic().fatal("expected token `,`"); }