Rollup merge of #48036 - durka:proc-macro-doteq, r=alexcrichton

proc_macro: don't panic parsing ..= (fix #47950)
This commit is contained in:
kennytm 2018-02-07 03:23:30 +08:00 committed by GitHub
commit 7f0e87a781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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