Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #29 from ecoal95/fix-nightly
Browse files Browse the repository at this point in the history
fix build on nightly without default features
  • Loading branch information
erickt committed Jan 12, 2016
2 parents c957bd4 + f214b76 commit 0c3dc4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quasi_codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 `,`");
}

Expand Down

0 comments on commit 0c3dc4e

Please sign in to comment.