Skip to content

Commit 5af4df4

Browse files
committed
Fix pretty printer
1 parent aa3fe20 commit 5af4df4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ impl<'a> State<'a> {
781781
}
782782

783783
fn print_typedef(&mut self, typedef: &ast::Typedef) -> IoResult<()> {
784+
try!(self.print_outer_attributes(&typedef.attrs[]));
784785
try!(self.word_space("type"));
785786
try!(self.print_ident(typedef.ident));
786787
try!(space(&mut self.s));

0 commit comments

Comments
 (0)