aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-11-24 17:36:22 -0800
committerPatrick Walton <[email protected]>2010-11-24 17:36:22 -0800
commit9769b612261d6000b969ce466c4033f8445d3474 (patch)
tree5313b4cb1be29bbe3d396a758b3cf46a68b6a5af /src/comp/front/ast.rs
parentrustc: Parse type-parametric tags (diff)
downloadrust-9769b612261d6000b969ce466c4033f8445d3474.tar.xz
rust-9769b612261d6000b969ce466c4033f8445d3474.zip
rustc: Parse type-parametric typedefs
Diffstat (limited to 'src/comp/front/ast.rs')
-rw-r--r--src/comp/front/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index 800d9794..7da857b4 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -170,7 +170,7 @@ type item = spanned[item_];
tag item_ {
item_fn(ident, _fn, vec[ty_param], def_id, ann);
item_mod(ident, _mod, def_id);
- item_ty(ident, @ty, def_id, ann);
+ item_ty(ident, @ty, vec[ty_param], def_id, ann);
item_tag(ident, vec[variant], vec[ty_param], def_id);
}