diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-05-10 15:57:27 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-05-16 14:21:02 -0400 |
| commit | 035c01af93fd23f10e233a8a9b651af20744e1d1 (patch) | |
| tree | 226edd1b4ba496dedd2c4aeb450b49384d0845d6 /src/libsyntax/ast.rs | |
| parent | 53196bb364426fb2b8db16f6748836779cd031c7 (diff) | |
| download | rust-035c01af93fd23f10e233a8a9b651af20744e1d1.tar.gz rust-035c01af93fd23f10e233a8a9b651af20744e1d1.zip | |
Add BuiltinBounds to closure type: parse and handle subtyping,
but do not integrate with kindck etc (requires a snapshot first)
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 4a3ae7d94ad..dcbbd7ab531 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -828,7 +828,8 @@ pub struct TyClosure { lifetimes: OptVec<Lifetime>, purity: purity, onceness: Onceness, - decl: fn_decl + decl: fn_decl, + bounds: OptVec<TyParamBound> } #[deriving(Eq, Encodable, Decodable)] |
