Skip to content

Commit

Permalink
Rollup merge of #48036 - durka:proc-macro-doteq, r=alexcrichton
Browse files Browse the repository at this point in the history
proc_macro: don't panic parsing ..= (fix #47950)
  • Loading branch information
kennytm committed Feb 6, 2018
2 parents d0e7da4 + 3cf73f4 commit 7f0e87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libproc_macro/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ impl TokenTree {
})
}

DotEq => unreachable!(),
DotEq => joint!('.', Eq),
OpenDelim(..) | CloseDelim(..) => unreachable!(),
Whitespace | Comment | Shebang(..) | Eof => unreachable!(),
};
Expand Down

0 comments on commit 7f0e87a

Please sign in to comment.