Skip to content

Commit 95b68aa

Browse files
committed
Fix fallout in tests.
1 parent cdbfe9f commit 95b68aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass-fulldeps/auxiliary/procedural_mbe_matching.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn expand_mbe_matches(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree])
3636

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

0 commit comments

Comments
 (0)