From 3cf73f40fb7217471dfe7394b73e67f53cfefc49 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Tue, 6 Feb 2018 14:43:01 +0000 Subject: [PATCH] proc_macro: don't panic parsing ..= (fix #47950) --- src/libproc_macro/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index b9e816baac0..6768e0ade43 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -685,7 +685,7 @@ impl TokenTree { }) } - DotEq => unreachable!(), + DotEq => joint!('.', Eq), OpenDelim(..) | CloseDelim(..) => unreachable!(), Whitespace | Comment | Shebang(..) | Eof => unreachable!(), };