Skip to content

Commit ab1bdde

Browse files
committed
libsyntax: Output where clauses in pretty printer for structs.
1 parent ac7dc03 commit ab1bdde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/print/pprust.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ impl<'a> State<'a> {
10701070
span: codemap::Span) -> IoResult<()> {
10711071
try!(self.print_ident(ident));
10721072
try!(self.print_generics(generics));
1073+
try!(self.print_where_clause(generics));
10731074
if ast_util::struct_def_is_tuple_like(struct_def) {
10741075
if !struct_def.fields.is_empty() {
10751076
try!(self.popen());

0 commit comments

Comments
 (0)