From ab1bdde536668e752aaf4e9dbfa0acf058d0240b Mon Sep 17 00:00:00 2001 From: Luqman Aden Date: Sun, 14 Dec 2014 00:51:42 -0500 Subject: [PATCH] libsyntax: Output where clauses in pretty printer for structs. --- src/libsyntax/print/pprust.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 6d8b8dcb8ba..d01b5a0fee2 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1070,6 +1070,7 @@ impl<'a> State<'a> { span: codemap::Span) -> IoResult<()> { try!(self.print_ident(ident)); try!(self.print_generics(generics)); + try!(self.print_where_clause(generics)); if ast_util::struct_def_is_tuple_like(struct_def) { if !struct_def.fields.is_empty() { try!(self.popen());