aboutsummaryrefslogtreecommitdiff
path: root/src/comp/pretty/pprust.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/pretty/pprust.rs')
-rw-r--r--src/comp/pretty/pprust.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index 3c417eff..d380f0b7 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -613,7 +613,7 @@ fn print_expr(ps s, &@ast.expr expr) {
print_expr(s, index);
pclose(s);
}
- case (ast.expr_path(?path,_,_)) {
+ case (ast.expr_path(?path,_)) {
print_path(s, path);
}
case (ast.expr_fail(_)) {
@@ -768,7 +768,7 @@ fn print_pat(ps s, &@ast.pat pat) {
case (ast.pat_wild(_)) {wrd(s.s, "_");}
case (ast.pat_bind(?id,_,_)) {wrd(s.s, "?" + id);}
case (ast.pat_lit(?lit,_)) {print_literal(s, lit);}
- case (ast.pat_tag(?path,?args,_,_)) {
+ case (ast.pat_tag(?path,?args,_)) {
print_path(s, path);
if (Vec.len[@ast.pat](args) > 0u) {
popen_h(s);