diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-02 12:09:26 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-02 15:15:27 +0100 |
| commit | 9f2369dc9f55a22cfc0bc8b62a8588afe2c8b2ca (patch) | |
| tree | 770413f0ec4d4279742ffaac21d3db40c9f7c9b0 /src/comp/middle/ty.rs | |
| parent | 270b4273e79aac33f424673caf455f839da2bb40 (diff) | |
| download | rust-9f2369dc9f55a22cfc0bc8b62a8588afe2c8b2ca.tar.gz rust-9f2369dc9f55a22cfc0bc8b62a8588afe2c8b2ca.zip | |
Box arrays of parameter bounds
Diffstat (limited to 'src/comp/middle/ty.rs')
| -rw-r--r-- | src/comp/middle/ty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs index c6e68c7777e..ac612dda5fb 100644 --- a/src/comp/middle/ty.rs +++ b/src/comp/middle/ty.rs @@ -196,7 +196,7 @@ type field = {ident: ast::ident, mt: mt}; type param_bounds = @[param_bound]; -type method = {ident: ast::ident, tps: [param_bounds], fty: fn_ty}; +type method = {ident: ast::ident, tps: @[param_bounds], fty: fn_ty}; type constr_table = hashmap<ast::node_id, [constr]>; @@ -324,7 +324,7 @@ fn param_bounds_to_kind(bounds: param_bounds) -> kind { kind } -type ty_param_bounds_and_ty = @{bounds: [param_bounds], ty: t}; +type ty_param_bounds_and_ty = {bounds: @[param_bounds], ty: t}; type type_cache = hashmap<ast::def_id, ty_param_bounds_and_ty>; |
