From 282dad748fee8d51bb36a2c74a233d1da323c137 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sun, 8 Nov 2015 20:23:12 +0530 Subject: [PATCH] chore(rustup): Rust upgrade to rustc 7cd8f69a4 2015-11-06 --- quasi_codegen/Cargo.toml | 2 +- quasi_codegen/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quasi_codegen/Cargo.toml b/quasi_codegen/Cargo.toml index 19684d7a..3a1c1f60 100644 --- a/quasi_codegen/Cargo.toml +++ b/quasi_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quasi_codegen" -version = "0.3.6" +version = "0.3.7" authors = ["Erick Tryzelaar "] license = "MIT/Apache-2.0" description = "A quasi-quoting macro system" diff --git a/quasi_codegen/src/lib.rs b/quasi_codegen/src/lib.rs index 3f0f1c61..6ec28c16 100644 --- a/quasi_codegen/src/lib.rs +++ b/quasi_codegen/src/lib.rs @@ -576,7 +576,7 @@ fn parse_arguments_to_quote(cx: &ExtCtxt, tts: &[ast::TokenTree]) let mut p = cx.new_parser_from_tts(tts); p.quote_depth += 1; - let cx_expr = p.parse_expr(); + let cx_expr = p.parse_expr_panic(); if !p.eat(&token::Comma).ok().unwrap() { let _ = p.fatal("expected token `,`"); }