Skip to content

Commit

Permalink
Update phf_macros to Rust 1.14.0-nightly (7c69b0d5a 2016-11-01)
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Nov 2, 2016
1 parent ecab54b commit b7d2d4d
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 b7d2d4d

Please sign in to comment.