Skip to content

Commit

Permalink
proc_macro: don't panic parsing ..= (fix #47950)
Browse files Browse the repository at this point in the history
  • Loading branch information
durka committed Feb 6, 2018
1 parent 6c04c41 commit 3cf73f4
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 3cf73f4

Please sign in to comment.