提交 9ac3d9b6 编写于 作者: G Guillaume Gomez

Fix panic when using debug

上级 be203ac2
......@@ -1031,7 +1031,7 @@ pub fn print_type(&mut self, ty: &ast::Ty) -> io::Result<()> {
try!(word(&mut self.s, "_"));
}
ast::TyKind::ImplicitSelf => {
unreachable!();
try!(word(&mut self.s, "Self"));
}
ast::TyKind::Mac(ref m) => {
try!(self.print_mac(m, token::Paren));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册