proc_macro: don't panic parsing ..= (fix #47950)

This commit is contained in:
Alex Burka 2018-02-06 14:43:01 +00:00
parent 6c04c41034
commit 3cf73f40fb

View file

@ -685,7 +685,7 @@ impl TokenTree {
})
}
DotEq => unreachable!(),
DotEq => joint!('.', Eq),
OpenDelim(..) | CloseDelim(..) => unreachable!(),
Whitespace | Comment | Shebang(..) | Eof => unreachable!(),
};