diff options
| author | Patrick Walton <[email protected]> | 2010-11-05 15:23:03 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-11-05 15:23:03 -0700 |
| commit | 35eb088ae3a5a530880a77d32798b22639ec6cdd (patch) | |
| tree | 1dc4f4fdf7f07c203ceed3c581cb6805a49b1361 /src/comp/front/ast.rs | |
| parent | rustboot: Report mismatched effect qualifiers (diff) | |
| download | rust-35eb088ae3a5a530880a77d32798b22639ec6cdd.tar.xz rust-35eb088ae3a5a530880a77d32798b22639ec6cdd.zip | |
rustc: Implement function types
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index a6cbf1ce..830856e0 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -130,6 +130,7 @@ tag ty_ { ty_box(@ty); ty_vec(@ty); ty_tup(vec[tup(bool /* mutability */, @ty)]); + ty_fn(vec[rec(mode mode, @ty ty)], @ty); // TODO: effect ty_path(path, option.t[def]); } |