Skip to content

Commit

Permalink
Fix panic when using debug
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 17, 2016
1 parent be203ac commit 9ac3d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/print/pprust.rs
Expand Up @@ -1031,7 +1031,7 @@ impl<'a> State<'a> {
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));
Expand Down

0 comments on commit 9ac3d9b

Please sign in to comment.