diff options
Diffstat (limited to 'src/comp/pretty')
| -rw-r--r-- | src/comp/pretty/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs index 25eb60ed..10cc5355 100644 --- a/src/comp/pretty/pprust.rs +++ b/src/comp/pretty/pprust.rs @@ -561,10 +561,10 @@ impure fn print_decl(ps s, @ast.decl decl) { } wrd(s, loc.ident); alt (loc.init) { - case (option.some[@ast.expr](?init)) { + case (option.some[ast.initializer](?init)) { space(s); wrd1(s, "="); - print_expr(s, init); + print_expr(s, init.expr); } case (_) {} } |