Skip to content

Commit

Permalink
Merge pull request #95 from nox/rustup
Browse files Browse the repository at this point in the history
Update phf_macros to Rust 1.14.0-nightly (7c69b0d5a 2016-11-01)
  • Loading branch information
sfackler committed Nov 2, 2016
2 parents ecab54b + b7d2d4d commit 969bcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phf_macros/src/lib.rs
Expand Up @@ -163,7 +163,7 @@ fn expand_phf_ordered_set(cx: &mut ExtCtxt,
}

fn parse_map(cx: &mut ExtCtxt, tts: &[TokenTree]) -> Option<Vec<Entry>> {
let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg().clone(), tts.to_vec());
let mut parser = parse::new_parser_from_tts(cx.parse_sess(), tts.to_vec());
let mut entries = Vec::new();

let mut bad = false;
Expand Down Expand Up @@ -202,7 +202,7 @@ fn parse_map(cx: &mut ExtCtxt, tts: &[TokenTree]) -> Option<Vec<Entry>> {
}

fn parse_set(cx: &mut ExtCtxt, tts: &[TokenTree]) -> Option<Vec<Entry>> {
let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg().clone(), tts.to_vec());
let mut parser = parse::new_parser_from_tts(cx.parse_sess(), tts.to_vec());
let mut entries = Vec::new();
let value = quote_expr!(&*cx, ());

Expand Down

0 comments on commit 969bcd5

Please sign in to comment.