Skip to content

Commit

Permalink
Fix fallout in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jseyfried committed Aug 12, 2016
1 parent cdbfe9f commit 95b68aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn expand_mbe_matches(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree])

let mac_expr = match TokenTree::parse(cx, &mbe_matcher[..], args) {
Success(map) => {
match (&*map[&str_to_ident("matched").name], &*map[&str_to_ident("pat").name]) {
match (&*map[&str_to_ident("matched")], &*map[&str_to_ident("pat")]) {
(&MatchedNonterminal(NtExpr(ref matched_expr)),
&MatchedSeq(ref pats, seq_sp)) => {
let pats: Vec<P<Pat>> = pats.iter().map(|pat_nt|
Expand Down

0 comments on commit 95b68aa

Please sign in to comment.