提交 3cf73f40 编写于 作者: A Alex Burka

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

上级 6c04c410
......@@ -685,7 +685,7 @@ fn joint(first: char, rest: Token, is_joint: bool, span: &mut syntax_pos::Span,
})
}
DotEq => unreachable!(),
DotEq => joint!('.', Eq),
OpenDelim(..) | CloseDelim(..) => unreachable!(),
Whitespace | Comment | Shebang(..) | Eof => unreachable!(),
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册